I am trying to mount an NFS share using Remote mount and it keeps failing
The error message is attached
I am trying to mount an NFS share using Remote mount and it keeps failing
The error message is attached
Without knowing the settings (and they cause 99% of the failures) for the remote mount, there isn't enough info in the error to help. Maybe sudo journalctl -u srv-remotemount-NFS.mount might give more info as well.
Without knowing the settings (and they cause 99% of the failures) for the remote mount, there isn't enough info in the error to help. Maybe sudo journalctl -u srv-remotemount-NFS.mount might give more info as well.
I have attached screenshots of the settings in OMV and on my ReadyNAS where the share sits.
Also, here is the result of the command:
Apr 26 14:28:55 fleggyomv systemd[1]: Mounting RemoteMount mount for NFS:57d6ceac-de5f-4299-a762-33691cc1f089...
Apr 26 14:28:55 fleggyomv mount[1893909]: mount.nfs: access denied by server while mounting 192.168.1.252:Videos
Apr 26 14:28:55 fleggyomv systemd[1]: srv-remotemount-NFS.mount: Mount process exited, code=exited, status=32/n/a
Apr 26 14:28:55 fleggyomv systemd[1]: srv-remotemount-NFS.mount: Failed with result 'exit-code'.
Apr 26 14:28:55 fleggyomv systemd[1]: Failed to mount RemoteMount mount for NFS:57d6ceac-de5f-4299-a762-33691cc1f089.
Apr 26 14:28:55 fleggyomv mount[1893909]: mount.nfs: access denied by server while mounting 192.168.1.252:Videos
This tells you everything you need to know. No idea why the readynas is denying the connection. Is there a reason you are using nfsv4? What is the output of the following command run on the omv box: sudo showmount -e 192.168.1.252
This tells you everything you need to know. No idea why the readynas is denying the connection. Is there a reason you are using nfsv4? What is the output of the following command run on the omv box: sudo showmount -e 192.168.1.252
This is the output
/data/Videos *
/home *
/data/OMV 127.0.0.1
I don't have a lot of experience with NFS (or Linux) so when I read that NFS4 meant you could just use the name, like SMB, that made more sense to me.
/data/OMV 127.0.0.1
Highly unlikely that address will work.
Uncheck the nfsv4 checkbox and change the share to /data/Videos
Uncheck the nfsv4 checkbox and change the share to /data/Videos
That worked but now for some reason I am getting an error in the Shared Folders section
Couldn't extract an UUID from the provided path '/export/tv2'.
OMV\Exception: Couldn't extract an UUID from the provided path '/export/tv2'. in /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc:180
Stack trace:
#0 /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc(140): OMV\System\Filesystem\Backend\RemoteAbstract::extractUuidFromMountPoint('/export/tv2')
#1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(881): OMV\System\Filesystem\Backend\RemoteAbstract->getImpl('//192.168.1.252...')
#2 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(903): OMV\System\Filesystem\Filesystem::getImplByType('cifs', '//192.168.1.252...')
#3 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(179): OMV\System\Filesystem\Filesystem::getImplByMountPoint('/srv/9fe5992c-4...')
#4 [internal function]: Engined\Rpc\ShareMgmt->enumerateSharedFolders(NULL, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#6 /usr/share/openmediavault/engined/rpc/sharemgmt.inc(241): OMV\Rpc\ServiceAbstract->callMethod('enumerateShared...', NULL, Array)
#7 [internal function]: Engined\Rpc\ShareMgmt->getList(Array, Array)
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#9 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)
#10 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ShareMgmt', 'getList', Array, Array, 1)
#11 {main}
where do you get the export error msg file you attatched? I am new one too .and want to remote.mount dav.but return error without details
where do you get the export error msg file you attatched? I am new one too .and want to remote.mount dav.but return error without details
On the dashboard, there is a bell that shows your notifications and next to the error, there are three dots that let you copy to clipboard
Couldn't extract an UUID from the provided path '/export/tv2'.
Did you change something with that remote mount? You have one remote mount from the OMV 5.x plugin that I would delete and recreate.
On the dashboard, there is a bell that shows your notifications and next to the error, there are three dots that let you copy to clipboard
I have mount alist successfully today with same park.I don't know why. but.after reboot. I can't open login web gui.it shows software error.but I can ssh login. I guess because remote mount plugin. now I reinstall operate system
I guess because remote mount plugin. now I reinstall operate system
Why? If you can ssh, you can fix it. Linux will go into rescue mode if you have a bad mount. You should confirm it is mounted before rebooting. Nothing remotemount plugin can do about that.
Why? If you can ssh, you can fix it. Linux will go into rescue mode if you have a bad mount. You should confirm it is mounted before rebooting. Nothing remotemount plugin can do about that.
below is reponse error msg, any idea?
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color remotemount 2>&1' with exit code '1': debian:
----------
ID: configure_remote_dir
Function: file.directory
Name: /srv/remotemount
Result: True
Comment: The directory /srv/remotemount is in the correct state
Started: 00:23:54.363304
Duration: 6.724 ms
Changes:
----------
ID: remove_remotemount_mount_files
Function: module.run
Result: True
Comment: file.find: ['/etc/systemd/system/srv-remotemount-Alist.mount']
Started: 00:23:54.370729
Duration: 4.004 ms
Changes:
----------
file.find:
- /etc/systemd/system/srv-remotemount-Alist.mount
----------
ID: remove_remotemount_automount_files
Function: module.run
Result: True
Comment: file.find: ['/etc/systemd/system/srv-remotemount-Alist.automount']
Started: 00:23:54.374874
Duration: 7.508 ms
Changes:
----------
file.find:
- /etc/systemd/system/srv-remotemount-Alist.automount
----------
ID: remove_remotemount_cifs_cred_files
Function: module.run
Result: True
Comment: file.find: []
Started: 00:23:54.382714
Duration: 4.612 ms
Changes:
----------
file.find:
----------
ID: remove_remotemount_s3fs_cred_files
Function: module.run
Result: True
Comment: file.find: []
Started: 00:23:54.387625
Duration: 4.11 ms
Changes:
----------
file.find:
----------
ID: systemd_delete_dead_symlinks
Function: cmd.run
Name: find /etc/systemd/system/multi-user.target.wants -xtype l -print -delete
Result: True
Comment: Command "find /etc/systemd/system/multi-user.target.wants -xtype l -print -delete" run
Started: 00:23:54.393231
Duration: 13.315 ms
Changes:
----------
pid:
51954
retcode:
0
stderr:
stdout:
/etc/systemd/system/multi-user.target.wants/srv-remotemount-Alist.mount
/etc/systemd/system/multi-user.target.wants/srv-remotemount-Alist.automount
----------
ID: configure_remotemount_Alist
Function: file.managed
Name: /etc/systemd/system/srv-remotemount-Alist.mount
Result: True
Comment: File /etc/systemd/system/srv-remotemount-Alist.mount updated
Started: 00:23:54.406858
Duration: 58.754 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_remoteautomount_Alist
Function: file.managed
Name: /etc/systemd/system/srv-remotemount-Alist.automount
Result: True
Comment: File /etc/systemd/system/srv-remotemount-Alist.automount updated
Started: 00:23:54.465861
Duration: 16.794 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: systemd-reload_Alist
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: Command "systemctl daemon-reload" run
Started: 00:23:54.482811
Duration: 306.97 ms
Changes:
----------
pid:
51957
retcode:
0
stderr:
stdout:
----------
ID: enable_Alist_remotemount
Function: service.enabled
Name: srv-remotemount-Alist.mount
Result: True
Comment: Service srv-remotemount-Alist.mount has been enabled, and is in the desired state
Started: 00:23:54.824726
Duration: 509.929 ms
Changes:
----------
srv-remotemount-Alist.mount:
True
----------
ID: restart_Alist_remotemount
Function: cmd.run
Name: systemctl restart 'srv-remotemount-Alist.mount'
Result: False
Comment: Command "systemctl restart 'srv-remotemount-Alist.mount'" run
Started: 00:23:55.335318
Duration: 89.021 ms
Changes:
----------
pid:
52004
retcode:
1
stderr:
Job failed. See "journalctl -xe" for details.
stdout:
----------
ID: enable_Alist_remotemountauto
Function: service.enabled
Name: srv-remotemount-Alist.automount
Result: True
Comment: Service srv-remotemount-Alist.automount has been enabled, and is in the desired state
Started: 00:23:55.425004
Duration: 450.114 ms
Changes:
----------
srv-remotemount-Alist.automount:
True
Summary for debian
-------------
Succeeded: 11 (changed=11)
Failed: 1
-------------
Total states run: 12
Total run time: 1.472 s
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color remotemount 2>&1' with exit code '1': debian:
----------
ID: configure_remote_dir
Function: file.directory
Name: /srv/remotemount
Result: True
Comment: The directory /srv/remotemount is in the correct state
Started: 00:23:54.363304
Duration: 6.724 ms
Changes:
----------
ID: remove_remotemount_mount_files
Function: module.run
Result: True
Comment: file.find: ['/etc/systemd/system/srv-remotemount-Alist.mount']
Started: 00:23:54.370729
Duration: 4.004 ms
Changes:
----------
file.find:
- /etc/systemd/system/srv-remotemount-Alist.mount
----------
ID: remove_remotemount_automount_files
Function: module.run
Result: True
Comment: file.find: ['/etc/systemd/system/srv-remotemount-Alist.automount']
Started: 00:23:54.374874
Duration: 7.508 ms
Changes:
----------
file.find:
- /etc/systemd/system/srv-remotemount-Alist.automount
----------
ID: remove_remotemount_cifs_cred_files
Function: module.run
Result: True
Comment: file.find: []
Started: 00:23:54.382714
Duration: 4.612 ms
Changes:
----------
file.find:
----------
ID: remove_remotemount_s3fs_cred_files
Function: module.run
Result: True
Comment: file.find: []
Started: 00:23:54.387625
Duration: 4.11 ms
Changes:
----------
file.find:
----------
ID: systemd_delete_dead_symlinks
Function: cmd.run
Name: find /etc/systemd/system/multi-user.target.wants -xtype l -print -delete
Result: True
Comment: Command "find /etc/systemd/system/multi-user.target.wants -xtype l -print -delete" run
Started: 00:23:54.393231
Duration: 13.315 ms
Changes:
----------
pid:
51954
retcode:
0
stderr:
stdout:
/etc/systemd/system/multi-user.target.wants/srv-remotemount-Alist.mount
/etc/systemd/system/multi-user.target.wants/srv-remotemount-Alist.automount
----------
ID: configure_remotemount_Alist
Function: file.managed
Name: /etc/systemd/system/srv-remotemount-Alist.mount
Result: True
Comment: File /etc/systemd/system/srv-remotemount-Alist.mount updated
Started: 00:23:54.406858
Duration: 58.754 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: configure_remoteautomount_Alist
Function: file.managed
Name: /etc/systemd/system/srv-remotemount-Alist.automount
Result: True
Comment: File /etc/systemd/system/srv-remotemount-Alist.automount updated
Started: 00:23:54.465861
Duration: 16.794 ms
Changes:
----------
diff:
New file
mode:
0644
----------
ID: systemd-reload_Alist
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: Command "systemctl daemon-reload" run
Started: 00:23:54.482811
Duration: 306.97 ms
Changes:
----------
pid:
51957
retcode:
0
stderr:
stdout:
----------
ID: enable_Alist_remotemount
Function: service.enabled
Name: srv-remotemount-Alist.mount
Result: True
Comment: Service srv-remotemount-Alist.mount has been enabled, and is in the desired state
Started: 00:23:54.824726
Duration: 509.929 ms
Changes:
----------
srv-remotemount-Alist.mount:
True
----------
ID: restart_Alist_remotemount
Function: cmd.run
Name: systemctl restart 'srv-remotemount-Alist.mount'
Result: False
Comment: Command "systemctl restart 'srv-remotemount-Alist.mount'" run
Started: 00:23:55.335318
Duration: 89.021 ms
Changes:
----------
pid:
52004
retcode:
1
stderr:
Job failed. See "journalctl -xe" for details.
stdout:
----------
ID: enable_Alist_remotemountauto
Function: service.enabled
Name: srv-remotemount-Alist.automount
Result: True
Comment: Service srv-remotemount-Alist.automount has been enabled, and is in the desired state
Started: 00:23:55.425004
Duration: 450.114 ms
Changes:
----------
srv-remotemount-Alist.automount:
True
Summary for debian
-------------
Succeeded: 11 (changed=11)
Failed: 1
-------------
Total states run: 12
Total run time: 1.472 s in /usr/share/php/openmediavault/system/process.inc:220
Stack trace:
#0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/rpc/config.inc(174): OMV\Engine\Module\ServiceAbstract->deploy()
#2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusSD...', '/tmp/bgoutput3s...')
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#7 /usr/share/openmediavault/engined/rpc/config.inc(195): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#12 {main}
and i can't open file system page,
error log:
Could not fetch a matching mount point from the provided fsname: '/srv/remotemount/Alist'.
OMV\Exception: Could not fetch a matching mount point from the provided fsname: '/srv/remotemount/Alist'. in /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc:220
Stack trace:
#0 /usr/share/php/openmediavault/system/filesystem/backend/remoteabstract.inc(139): OMV\System\Filesystem\Backend\RemoteAbstract::fetchMountPointFromFstabByFsnameAndType('/srv/remotemoun...', 'davfs')
#1 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(811): OMV\System\Filesystem\Backend\RemoteAbstract->getImpl('/srv/remotemoun...')
#2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(182): OMV\System\Filesystem\Filesystem::getFilesystems()
#3 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->enumerateFilesystems(NULL, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#5 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(386): OMV\Rpc\ServiceAbstract->callMethod('enumerateFilesy...', NULL, Array)
#6 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->getList(Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('getList', Array, Array)
#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusGB...', '/tmp/bgoutpute6...')
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#11 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(525): OMV\Rpc\ServiceAbstract->callMethodBg('getList', Array, Array)
#12 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->getListBg(Array, Array)
#13 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#14 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getListBg', Array, Array)
#15 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('FileSystemMgmt', 'getListBg', Array, Array, 1)
#16 {main}
The output in the web interface is rarely helpful since systemctl doesn't output relevant info on failure. That is why I always ask for the journalctl info. But even that doesn't always help. This plugin is just so damn hard to help with because the plugin doesn't control the remote server and people get the settings wrong 99% of failures. davfs is an even bigger pain. You will probably get more info from the web server on the remote server you are trying to connect to.
Did you change something with that remote mount? You have one remote mount from the OMV 5.x plugin that I would delete and recreate.
You are a life saver!! I removed all remote mount shares, uninstalled the plugin, rebooted the machine, re-shared via NFS and now everything works EXACTLY how I want it too. Thank you so so much
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!