Could not fetch a matching mount point w/ mergerfs w/ new OMV mounting points

  • I recently added 2 new disks into my OMV3.0.70 setup. I noticed that they are using a new mount point of '/srv/dev-disk-by-label-DataDisk03' instead of '/media/11b1ec9f-2232-4302-ba8b-96120efe7777/'. I added the new disks into Union Filesystems megerfs pool 'primary_datapool' and since then haven't been able to make shared folders to export to NFS or CIFS.


    ERROR

    Code
    Error #0: exception 'OMV\Exception' with message 'Could not fetch a matching mount point from the provided fsname: 'media/85abc43f-81e6-4cb6-9d90-ca24c253c15c:media/f0f3379d-5651-495a-9cc0-2df8d4667ff7:srv/dev-disk-by-label-DataDisk04:srv/dev-disk-by-label-DataDisk03'.' in /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc:118 Stack trace: #0 /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc(61): OMV\System\Filesystem\Backend\Mergerfs::fetchMountPointFromFstabByFsnameAndType('media/85abc43f-...', 'fuse.mergerfs') #1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(894): OMV\System\Filesystem\Backend\Mergerfs->getImpl('media/85abc43f-...') #2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(156): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/media/e7fa93b0...') #3 [internal function]: OMVRpcServiceShareMgmt->enumerateSharedFolders(Array, Array) #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): 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(536): OMV\Rpc\Rpc::call('ShareMgmt', 'enumerateShared...', Array, Array, 1) #7 {main}



    I tried removing the mergerfs pool, uninstalling the union filessystems plugin, rebooting, reinstalling, remaking the pool. However i still have the same issue. I see everything in the /etc/fstab and i also am able to navigate it and view files in putty.


    ERROR


    Code
    Error #0: exception 'OMV\Exception' with message 'Could not fetch a matching mount point from the provided fsname: 'srv/dev-disk-by-label-DataDisk03:media/85abc43f-81e6-4cb6-9d90-ca24c253c15c:srv/dev-disk-by-label-DataDisk04:media/f0f3379d-5651-495a-9cc0-2df8d4667ff7'.' in /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc:118 Stack trace: #0 /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc(61): OMV\System\Filesystem\Backend\Mergerfs::fetchMountPointFromFstabByFsnameAndType('srv/dev-disk-by...', 'fuse.mergerfs') #1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(894): OMV\System\Filesystem\Backend\Mergerfs->getImpl('srv/dev-disk-by...') #2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(86): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/srv/547efeb0-1...') #3 [internal function]: OMVRpcServiceShareMgmt->getCandidates(Array, Array) #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getCandidates', Array, Array) #6 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'getCandidates', Array, Array, 1) #7 {main}


    I think there is something wrong with the 'new mounting method' and 'mergerfs' and 'shared folders'



    Everything is updated, and i am running OMV 3.0.70(Erasmus) Linux 4.9.0-0.bpo.2-amd64


    FSTAB


    • Offizieller Beitrag

    The unionfilesystems plugin (and remoteshare and zfs plugins) need to be updated for the latest changes to OMV. I would stay on OMV 3.0.69 until they are fixed. @HK-47

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    wget http://packages.openmediavault.org/public/pool/main/o/openmediavault/openmediavault_3.0.69_all.deb
    dpkg -i openmediavault_3.0.69_all.deb

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I got OMV 3.0.69 installed and removed / reinstalled /reconfigured mergerfs. However i still get the same type of error.


    Code
    Error #0: exception 'OMV\Exception' with message 'Could not fetch a matching mount point from the provided fsname: 'srv/dev-disk-by-label-DataDisk03:media/85abc43f-81e6-4cb6-9d90-ca24c253c15c:srv/dev-disk-by-label-DataDisk04:media/f0f3379d-5651-495a-9cc0-2df8d4667ff7'.' in /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc:118 Stack trace: #0 /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc(61): OMV\System\Filesystem\Backend\Mergerfs::fetchMountPointFromFstabByFsnameAndType('srv/dev-disk-by...', 'fuse.mergerfs') #1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(894): OMV\System\Filesystem\Backend\Mergerfs->getImpl('srv/dev-disk-by...') #2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(86): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/srv/01ec7116-5...') #3 [internal function]: OMVRpcServiceShareMgmt->getCandidates(Array, Array) #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getCandidates', Array, Array) #6 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'getCandidates', Array, Array, 1) #7 {main}
  • I think I know what the problem is and a downgrade won't help. I have a possible fix committed locally but rather know if it's working before pushing it. Can you check if it works if you change line 108 in /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc from
    $mountsFile = strpos($fsname, DIRECTORY_SEPARATOR) !== false ? '/etc/fstab' : '/proc/mounts'; to $mountsFile = strpos($fsname, DIRECTORY_SEPARATOR) === 0 ? '/proc/mounts' : '/etc/fstab';

  • @HK-47 Doesn't look like it worked 8(


    mergerfs.inc lines 106 - 108

    Code
    private static function fetchMountPointFromFstabByFsnameAndType($fsname, $type)
        {
            $mountsFile = strpos($fsname, DIRECTORY_SEPARATOR) === 0 ? '/proc/mounts' : '/etc/fstab';


    Error Message: (after running systemctl restart openmediavault-engined.service)

    Code
    Could not fetch a matching mount point from the provided fsname: 'srv/dev-disk-by-label-DataDisk03:media/85abc43f-81e6-4cb6-9d90-ca24c253c15c:srv/dev-disk-by-label-DataDisk04:media/f0f3379d-5651-495a-9cc0-2df8d4667ff7'.
    Code
    Error #0: exception 'OMV\Exception' with message 'Could not fetch a matching mount point from the provided fsname: 'srv/dev-disk-by-label-DataDisk03:media/85abc43f-81e6-4cb6-9d90-ca24c253c15c:srv/dev-disk-by-label-DataDisk04:media/f0f3379d-5651-495a-9cc0-2df8d4667ff7'.' in /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc:118 Stack trace: #0 /usr/share/php/openmediavault/system/filesystem/backend/mergerfs.inc(61): OMV\System\Filesystem\Backend\Mergerfs::fetchMountPointFromFstabByFsnameAndType('srv/dev-disk-by...', 'fuse.mergerfs') #1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(894): OMV\System\Filesystem\Backend\Mergerfs->getImpl('srv/dev-disk-by...') #2 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(86): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/srv/a67ecbf7-5...') #3 [internal function]: OMVRpcServiceShareMgmt->getCandidates(Array, Array) #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array) #5 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getCandidates', Array, Array) #6 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'getCandidates', Array, Array, 1) #7 {main}

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!