btrfs snapshot restore read-only

Bug #1871244 reported by Dark Dragon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
friendly-recovery (Ubuntu)
New
Undecided
Unassigned

Bug Description

When trying to restore a btrfs snapshot, it is renamed as-is. When snapshots are created read-only (which is good practice), then reboot will fail for a read-only root file system.

I suggest to create a child read-write snapshot instead. This has the following advantages
- target snapshot is read-write
- source snapshot can be used multiple times in case something goes wrong

A snapshot can be created via:

  mv @ @apt-old-root-DATE
  btrfs subvolume snapshot $SNAPSHOT @

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.