On Mon, Aug 20, 2012 at 2:36 PM, 1126 <mailinglists@elfsechsundzwanzig.de> wrote:
On Mon, 20. Aug 13:49, C Anthony Risinger wrote:
in short, you need something like this in fstab or equiv:
/dev/disk/by-label/btrfs-root /var/lib/btrfs-root btrfs defaults,noatime,subvolid=0 0 0
... you need to mount `subvolid=0` or `subvolid=5` (same thing) somewhere, and make snapshots from there. subvolid 5 (for which 0 is an alias) is hard-coded to the top-level root.
maybe try this:
https://wiki.archlinux.org/index.php?title=Installing_on_Btrfs_root&oldid=185175
Hey, thanks! I now can create snapshots in __snapshot (/var/lib/btrfs-root/__snapshot), but I can't use rollback ... Might this be due to boot with systemd?
hmm, i wouldn't think so -- this is pretty low-level and should not be affected. make sure you have the hook in your mkinitcpio.conf, and make sure your not trying to rollback after a kernel update ... but you'll need to elaborate more on what "I can't use rollback" really means (eg. some output or description or something). that said, i haven't actually ran the hook for awhile -- i had to ease off the edge a bit -- and hence am running ext4 currently. but in light of recent grub2 developments, it sounds like kernel-level rollbacks will finally be possible so lately i've been trying to revisit this project. i'd also like to get the hook -- or some form of it -- included in Arch proper ... -- C Anthony