Re: Question on subvolumes and mount options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 13 Feb 2011 19:18:20 +0000
Hugo Mills <hugo-lkml@xxxxxxxxxxxxx> wrote:

>    Yes, it's the same piece of storage, just appearing at more than
> one point in your overall filesystem. Similar to the way that bind
> mounts work.

I've noticed that I can also rename subvolumes as well using mv(1).
Can I move/re-arrange subvolumes between them simply using mv?

Does a move between subvolumes involve a copy?

> > So you would recommend creating both /root and /home subvolumes, to be
> > mounted separately, or create /root and /root/home subvolumes?
> 
>    The former.

Thanks. I can see why this is clearly more flexible in the long term.

> > What if I remount the /home subvol into /home2. What happens when I
> > touch a file through /home (nodatasum) and what happens when I use
> > /home2 - since both are available at the same time?
> 
>    They'll stay in sync with respect to the files written to either
> one. I'm not sure what the behaviour of nodatasum is with different
> mounts of the same subvolume.

Can we get an exact answer/behavior for that? :)

I mean, can I mount two different subvolumes in the same file system with different flags (such as ssd, nodatasum, compress)?

--
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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux