btrfs snapshot restore read-only
Bug #1871244 reported by
Dark Dragon
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.