On Thu, Mar 19, 2015 at 2:34 PM, don fisher <hdf3@comcast.net> wrote:
Chris,
I will wade through your email again in detail. I did not grasp it all on first read.
It's verbose and on-the-fly organized.
My question is, one can write a file to /usr/local/ on the btrfs system and it ends up on the correct subvolume.
If you precreate the subvolumes, yes. However rsync will treat subvolumes on the source as directories, and will create directories on the destination, not subvolumes. A subvolume is a separate fs tree. It's not quite a completely independent file system, because there are other trees in a Btrfs volume than just fs_tree types. But for instance, each subvolume starts inode counts over. So you can have two files on a Btrfs volume with the same inode (when they are in separate subvolumes).
I cannot see why doing an rsync of source root to destination root would not preserve the btrfs system existing on the destination. I do not see where it should break, but have been afraid to try the experiment. I do not understand why it should flatted all of the subvolumes. What am I missing?
See if the above works, if not ask again and I'll try again. -- Chris Murphy -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org