by delina » 2019-01-04 07:42
What a pain i got it to work finally i created 8 btrfs drives and gave each a label like drive1 drive2.... drive 8
I was trying to figure how to do this all in the gui so i used the disk utility to create the mount for the drives
it only kind of works with btrfs. to make it work i had to trick it.
i had to click change mount options then change to by label drive1
i would copy the path /mount/drive1
then change it to UUID=...... then in this setting i would replace the uuid path with the label path.
on the line that says nosuid,nodev,nofail add a ,compress and change filesystem time from auto to btrfs.
when done it makes a fstab with
UUID=xxxxxxxxxxxxxxxxxxxxxxxxxx /mnt/drive1 btrfs nosuid,nodev,nofail,compress 0 0
make sure to create folders in /mnt for drive1 drive2.. 8
then it will mount all those in those folders.
then you just make the mergerfs mount
/mnt/drive* /mnt/driveshare fuse.mergerfs minfreespace=20g,defaults,allow_other,direct_io,use_ino 0 0
i used the disk utility and set all the drive to mount on start and not be visible.
you shouold end up with a /mnt/driveshare that has the sum of all 8 drives in it.