You are not logged in.
Hey there.
I build myself a new computer and am going to install Arch on it again. This time I choose btrfs as the file system. Maybe I‘ve missed someting but I‘m a little lost concerning subvolumes though.
I‘ve followed the Wiki to encrypt the entire system and install btrfs on a single device. But when it comes to the point where the Wiki describes how to create and mount the subvolumes I‘m not sure that I‘m doing it right.
1. I‘ve installed btrfs and mounted the partition, e.g.:
mount -o compress=lzo /dev/mapper/cryptroot /mnt/
2. I‘ve created the subvolumes as described in the Wiki, e.g.:
btrfs subvolume create /mnt/@
btrfs subvolume create /mnt/@home
etc.
3. I‘ve unmounted the system partition again:
umount /mnt/
Now I come to the point where I‘m supposed to mount the just created subvolumes and where I‘m currently lost.
As I understand it, I mount the root subvolume as follows:
mount -o compress=lzo,subvol=@ /dev/mapper/cryptroot /mnt
and then create mount points for all the other subvolumes I created and mount them accordingly, e.g.
mkdir /mnt/home
mount -o compress=lzo,subvol=@home /dev/mapper/cryptroot /mnt/home
Is that correct?
Last edited by Janusz11 (2017-08-04 17:49:05)
Offline
Offline
Thanks. The system works, so I guess I did indeed everything right. =]
Offline