On 11/29/20 5:07 PM, Chris Murphy wrote:
> You do not need to worry about renaming an active/in-use subvolume.
> Internally Btrfs is using subvolume ID's anyway, and that won't
> change.

I didn't know this. I thought you had to boot off external media in
order to revert back the root filesystem snapshot or make the necessary
changes in /etc/fstab .

I just did this test in a F33 VM:

- mounted btrfs in /mnt, took snapshot of root as root.20201230
- dnf update (a bunch of updates)
- rebooted
- mounted btrfs in /mnt, renamed root to root.old, created new snapshot
called root off root.20201230 (just the steps you mentioned)
- rebooted

While booting a get an error "Failed to start Load Kernel Modules" and
"A start job is running for /dev/zram0".   The
systemd-modules-load.service show some errorrs looking up aliase named
fuse, msr, platform-integrity etc...

It eventually booted fine but the issue remains in further rebots
(kernel module error and zram issue). So apparently there are still some
loose ends doing this in-place snapshot reversal of the root filesystem?

This was just a test on a scratch VM so no need to troublshoot it further.

Thanks.

-- 
Jorge
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to