10.08.2014 09:19, Andrey Borzenkov пишет:
В Sat, 09 Aug 2014 22:47:41 +0400 "Matwey V. Kornilov"
пишет: 09.08.2014 22:34, Matwey V. Kornilov пишет:
09.08.2014 21:51, Andrey Borzenkov пишет:
There were quite a number of commits to support booting from btrfs snapshots. So I assume this should work, at least under some restrictions.
Just installed 13.2, there are grub2-snapper-plugin package, but it doesn't work out of the box. Trying to understand what is to do with it.
Ok. Get it working. When I boot into the snapshot, the / seems to be mounted as ro, and the OS is almost not working. Is it supposed to be so?
snapshots are read-only by definition. I do not know how it was supposed to work ... I Cc to Michael who added snapshot support to grub.
Assuming strict requirements that arbitrary snapshot must be bootable, one possible solution would be to clone snapshot in initrd on the fly.
AFAIK not the snapshots themselves. The snapshots are just kind of subvolumes. I've looked through snapper sources and found that it creates readonly snapshots intentionally passing appropriate flag to the btrfs ioctl. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org