Will do, though I'd like to have a funcional backup strategy first, and some integration with the init hook. Although I have no idea when I'll be able to get around to it Serafean
on 04/10/2013 – Made popular on 04/10/2013
I've recently converted an ext4 filesystem with 2.5TB of data to btrfs and I would like to have that data, now residing in the root of the filesystem (subvolid 0) in a subvolume so the subvolume can be snapshotted on a regular basis.
I'm new to using Btrfs and I'd like some opinion on the best way to move this data and I haven't found any specific info on standard practice in this situation a
Even if all your partitions are btrfs subvolumes, you still have to tell the kernel/initramfs which partition to mount as your rootfs. This is typically done with a kernel command line parameter. So if your root is in fact the root of the btrfs filesystem, it would be rootflags=subvolid=0. Though this can also be done by setting a default /. Something like "btrfs subvo
I performed a standard Debian install using wheezy/testing netinst iso for amd64. After the install completed I booted into a live environment so that I could snapshot the root as a btrfs subvolume named 'root'. To do so I renamed the /root directory to /rootuser temporarily however I am not able to move /rootuser back to /root in the new subvolume.
Is there any inherent difference between these two?I'm asking because I messed up my default subvolume, but managed to boot a snapshot I created beforehand. Can I just delete my old default subvolume now and use the snapshot as my new default or is that a bad idea for some reason?