Re: How do I restore BTRFS snapshots ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux