Re: [newb] move /home to subvolume

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

 



On Mon, Jun 1, 2015 at 12:52 PM, Neal Becker <ndbecker2@xxxxxxxxx> wrote:

> Let me just make sure I'm clear on this.  So I already have /dev/sdaX
> mounted as /.

Actually your fstab will show you have subvol=root mounted at /, not
the top level.

>You're saying I should mount it again as /mnt, and this
> procedure is OK while the filesystem is in use, correct?

Yes.

>
>>
>> btrfs sub create /mnt/home
>
>
> Well there is already a directory called /home, under / on this filesystem.

/ is a mount point. And the subvolume named root is what's mounted
there. If you mount the top level subvolume at /mnt then you will see
the root subvolume in /mnt/. And you will see your current home
directory in /mnt/root/home.


> Well, /home is not mounted.  There is right now just a single mount of /
>
>>
>> umount /home

OK so you can skip the umount part.


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




[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