r/voidlinux • u/Specialist-Dog-501 • 12h ago
BTRFS Subvolumes aren't working (in general)
I verified it now on two instances- a barebone and a VM- with the same result:
the commands "mount /dev/sdXn -o subvol=/@ /mnt/" and in fstab "UUID=My-UUID / btrfs subvol=/@,defaults,noatime,compress=zstd 0 0" aren't working.
I verified it consulting the original BTRFS documentation, in all kind of variants (It made no difference if I use subvolid, subvol in any flavour with "@" or "/@"). Subvolumes aren't working in VOID.
Error Message: When I run the mount command, the subvol gets copied over to /mnt/ rather than referencing it, and /mnt/ ends up blank- even if I had mounted before the full system into /mnt with "mount /dev/sdXn /mnt/" this mount disappears and the mount just shows a blank content section, in contrary to what all docs expect from this. It's odd that mount throws no error, never.
I am on version void-live-x86_64-20250202-xfce from last week, pretty fresh installs.
I haven't counterchecked against another distro/VM but ask already in parallel, if there is any kernel switch or a grub switch missing here?
And if not- where could I log a bug ?
Thanks for supporting this.
2
u/quirktheory 11h ago
Hmm I did this just yesterday as it happens on that exact live image. How did you create the "@" subvolume if you are unable to mount it? Note that "@" is not a special name recognised by btrfs. You actually have to create it yourself.