On Mon, May 8, 2017 at 1:15 PM, Alexandru Guzu <alexguzu@xxxxxxxxx> wrote: > Also I was unable to find a way to send-receive a snapshot to the root > subvolume of a different disk. Is this possible? btrfs send /mnt/brick1/root.20170508 | btrfs receive /mnt/brick2 You need to snapshot it again to make it a read-write snapshot, and then move the contents wherever you want, if you do not want to boot a subvolume directly; and rather boot from the top level subvolume. Each subvolume is a separate fs tree, so you need to have the top level mounted if you want to do an efficient move which is really a cp --reflink followed by rm, behind the scenes. I find it easy to just boot subvolumes rather than booting from the top level (subvolume id 5, a.k.a. id 0), using rootflags=subvol=<nameofsubvol>. -- Chris Murphy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
