I've got a big old BTRFS RAID array with a few subvolumes:
# btrfs subvolume list -u /bulk ID 256 gen 56429 top level 5 uuid 11b16b2e-8f75-ec46-8cgd-4a001c70a4ba path @ ID 257 gen 56428 top level 256 uuid 0c81c066-dge1-464d-bd50-6f56e9d83e0a path @mine ID 258 gen 56430 top level 256 uuid 6139b708-3226-324b-8bae-9eb810cfd226 path @shared
The root subvolume,
@, is mounted at
bulk, via fstab
I'd like to have the
@mine subvolume mounted at some point in my home dir, but for some reason it keeps failing:
# mount -t btrfs -o subvol=/@mine,defaults,nossd,user /dev/sdd2 /home/me/bulk mount: /home/me/bulk: mount(2) system call failed: No such file or directory. dmesg(1) may have more information after failed mount system call.
Interestingly, the main subvolume has no such issues:
# mount -t btrfs -o subvol=/@,defaults,nossd,user /dev/sdd2 /home/me/bulk
The above works directly, no complaints.
The same issue happens when I try to mount via
I also tried when mounting via the UUID, and the subvolume UUID is not found at all, and
@share shows exactly the same behaviour.
If I mount
@ instead of the subvolume, I can access everything normally, including the subvolumes, as a user, without any read/write issues -- but I'd really prefer to have just the specific subvolume mounted in my home dir, and I'm pretty sure that it must be possible. (and yes, I unmounted `/@' immediately after mounting it, so the mountpoint was empty)
Are there any particular options which are required to mount a subvolume, compared to the root?
In case this is relevant: I'm on Manjaro Plasma, kernel version 5.15.109-1-MANJARO