dvogel
(David Vogel)
September 16, 2022, 9:29pm
1
Coming from Arch it was a pretty simple task to mount sub volumes then create an entry into FStab.
Ex. UUID:#####- ###### /data btrfs defaults,noatime,subvol=@,etc. 0 0
Where do I mount subvolumes in Silverblue?
Mounting has not been a problem, it’s the fstab entry and persistence that’s kicking my butt.
Thanks for the help
Welcome @dvogel to ask
The entry you showed is very similar to what fedora uses by default for btrfs mounting in fstab.
UUID=xxxxx-xxxx-xxxx-xxxx-xxxxxxxx / btrfs subvol=root,compress=zstd:1 0 0
You should be able to edit /etc/fstab on silverblue the same as on any other system, though since I don’t use silverblue I may be wrong.
Guess I really need to set up a VM with silverblue for testing.
dvogel
(David Vogel)
September 20, 2022, 6:02pm
3
Sorry for the delayed response.
The solution to the problem was to mount the btrfs raid to:
/var/home/user/data
My initial problem was I attempted to mount the drives to the root data directory. I have found out it was much easier to mount the drive to a dirextory in my home folder.