Hello,
I've just installed the latest omv 5.x and ran into a weird problem with the unionFS plugin. I can create a merged FS just fine and I can create shared folders on it just fine too. But as soon as I start adding these folders as shares for NFS and SMB, I start getting the subj error. If I add the SMB share first, then the error says:
Couldn't extract an UUID from the provided path '/sharedfolders/images'.
If I add the NFS share first, then the error says:
Couldn't extract an UUID from the provided path '/export/images'.
When I check the details, I see the following log:
Error #0:OMV\Exception: Couldn't extract an UUID from the provided path '/sharedfolders/images'. in /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc:87Stack trace:#0 /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc(64): OMV\System\Filesystem\Backend\Mergerfs::extractUuidFromMountPoint('/sharedfolders/...')#1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(891): OMV\System\Filesystem\Backend\Mergerfs->getImpl('1:2')#2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(158): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/srv/2bea2396-1...')#3 [internal function]: Engined\Rpc\ShareMgmt->enumerateSharedFolders(Array, Array)#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('enumerateShared...', Array, Array)#6 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'enumerateShared...', Array, Array, 1)#7 {main}
I tried recreating the FS and shared folders. I even tried reinstalling the omv, but the results are still the same. The relevant mount output shows this:
/dev/vda1 on /srv/dev-disk-by-label-d1 type ext4 (rw,noexec,relatime,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
/dev/vdb1 on /srv/dev-disk-by-label-d2 type ext4 (rw,noexec,relatime,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
1:2 on /sharedfolders/images type fuse.mergerfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
1:2 on /srv/2bea2396-1e3b-449d-915f-8b56d5c14c97 type fuse.mergerfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
1:2 on /export/images type fuse.mergerfs (rw,relatime,user_id=0,group_id=0,default_permissions,allow_other)
Alles anzeigen
and the fstab looks like this:
# >>> [openmediavault]
/dev/disk/by-label/d1 /srv/dev-disk-by-label-d1 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,ac0 2
/dev/disk/by-label/d2 /srv/dev-disk-by-label-d2 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,ac0 2
/srv/dev-disk-by-label-d1:/srv/dev-disk-by-label-d2 /srv/2bea2396-1e3b-449d-915f-8b56d5c14c97 fuse.mergerfs defaults,allow_other,direct_io,use_ino,category.create=mfs,minfreespace=100G,x-systemd.requires=/srv/dev-disk-by-label-d1,x-systemd.requires=/srv/dev-disk-by-label-d2 0 0
/srv/2bea2396-1e3b-449d-915f-8b56d5c14c97/images /export/images none bind,nofail 0 0
# <<< [openmediavault]
Alles anzeigen
Any idea what the hell is going on here? I had this exact same setup in omv 4.x and it worked perfectly fine. I know I can always go back to 4.x and that 5.x is still technically in beta stage, but I figured I'd ask first in case it's something simple I'm missing.