Some unforeseen event has accelerated my migration to OMV 5 (the thumb drive with the install of OMV 4 failed). I was previously using mergerFS without problem. I managed to successfully restore my shared folders on OMV 5.
The problem happens when I use the mergerFS volume as bind in Portainer (/srv/...). Plex refuses to startup and the logs show the following:
Jun 05, 2020 09:05:54.998 [0x7fb5ec726740] ERROR - SQLITE3:(nil), 5386, os_unix.c:37072: (19) mmap(/config/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db-shm) - No such deviceJun 05, 2020 09:05:54.998 [0x7fb5ec726740] ERROR - SQLITE3:(nil), 5386, disk I/O error in "PRAGMA cache_size=2000"
However, this does not happen if I use the direct path to one of the drive used with mergerFS. I thought my Plex database may be corrupted, so I tried to run a new Plex instance with a fresh config folder in my mergerfs volume and it made no difference.
Same kind of errors pop up with Homeassistant :
I have tried resetting the permissions with the resetperm plugin but to no avail.
Edit; here is my fstab :
/dev/disk/by-label/HDD2 /srv/dev-disk-by-label-HDD2 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,ac0 2/dev/disk/by-label/HDD1 /srv/dev-disk-by-label-HDD1 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,ac0 2/srv/dev-disk-by-label-HDD1:/srv/dev-disk-by-label-HDD2 /srv/2e18f54d-6de6-40d2-99c9-0c2b0380d9d6 fuse.mergerfs defaults,allow_other,cache.files=off,use_ino,category.create=epmfs,minfreespace=4G,fsname=HDDXL:2e18f54d-6de6-40d2-99c9-0c2b0380d9d6,x-systemd.requires=/srv/dev-disk-by-label-HDD1,x-systemd.requires=/srv/dev-disk-by-label-HDD2 0 0
Any help much appreciated,