Score:0

How to use Mergerfs to have multiple disks for /home

ve flag

My growing number of users and their growing projects is pushing towards the limit. Disk usage is touching 100% already for /home.

I need to have a secondary HDD (/dev/sdb1), move some users to that device. Then finally, I'm trying to use mergerfs to mount my old home partition (/dev/sda2) and the new (/dev/sdb1) to /home. So all users could be found normally under /home/

In /etc/fstab I commented out the line for the old /home and added:

#MergerFS for Home

/dev/sdb1:/dev/sda2 /home fuse.mergerfs allow_other,use_ino,category.create=mfs,fsname=home,nonempty 0 0

Then, I mount -a, but unfortunately /home is not accessible:

ls: cannot access '/home': No such file or directory

Rebooting did not help either.

David avatar
cn flag
Is there a version of Ubuntu being used?
TarekEldeeb avatar
ve flag
Thanks @David, it's 18.04.6 LTS .. the error in the dmesg while logging is related to timeout finding the device "/dev/sdb1:/dev/sda2" .. stopping the system from booting. Maybe because mergerfs is FUSE, not loaded early. I'm not sure what the solution could be.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.