I have a merged partition from 3 different hard drives with mergerfs. I set it up following this tutorial.
To automate the mounting I added instructions in the fstab
:
UUID=b3c8301c-5d12-4ab1-ab8c-9249e81978df / ext4 rw,relatime,data=ordered 0 1
UUID=f510cf24-8253-4178-99dd-a23a02e912c1 /boot ext4 rw,relatime,data=ordered 0 2
UUID=9a586ac1-ba39-4004-8ed8-3a6956ae23e7 swap swap defaults 0 0
UUID=a3f39fe8-0917-4990-9264-8814a7d0a3b3 /mnt/data_01 ext4 defaults 0 2
UUID=1c78e917-e81c-4719-aecd-211326a579aa /mnt/data_02 ext4 defaults 0 2
UUID=ac5599bf-0c3b-4785-bc3d-a0cddd32fe28 /mnt/data_03 ext4 defaults 0 2
/mnt/data_* /mnt/data fuse.mergerfs defaults,allow_other,use_ino,fsname=data_merger 0 0
When I do mount -a
the first time it fail with this message : fuse: device not found, try 'modprobe fuse' first
. So I do it and the second mount -a
works perfectly. After this, the merged partition behave as expected.
But when I reboot, the partition is not mounted. I assumed that is because modprobe fuse
is not run before the fstab
process. I don't know how to manage it, I read that rebuild the kernel with fuse
could be a solution, but it seems a bit overkill.
Any idea?