Hi,
I run OVM 4.1.20-1, and I meet some problems when I add a share.
I've an existing LVM from an old OVM 0.5.60, which is correctly detected by LVM Plugin, and I'm able to mount it correctly from OVM "FileSystems" panel.
But when I try to add share from this LVM, I obtain an error when I apply change:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl restart 'sharedfolders-documents.mount' 2>&1' with exit code '1': A dependency job for sharedfolders-documents.mount failed. See 'journalctl -xe' for details.
with the details:
Error #0:
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; systemctl restart 'sharedfolders-documents.mount' 2>&1' with exit code '1': A dependency job for sharedfolders-documents.mount failed. See 'journalctl -xe' for details. in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)
#1 /usr/share/php/openmediavault/system/systemctl.inc(160): OMV\System\SystemCtl->exec('restart', NULL, false)
#2 /usr/share/openmediavault/engined/module/sharedfolders.inc(66): OMV\System\SystemCtl->restart()
#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleSharedfolders->startService()
#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus8e...', '/tmp/bgoutput6K...')
#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#14 {main}
Alles anzeigen
"journalctl -xe" give:
Mar 27 22:17:15 nas systemd[1]: sharedfolders.mount: Starting requested but asserts failed.
Mar 27 22:17:15 nas systemd[1]: Assertion failed for Mount shared folder / to /sharedfolders//.
-- Subject: Unit sharedfolders.mount has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders.mount has failed.
--
-- The result is assert.
Mar 27 22:17:15 nas systemd[1]: Dependency failed for Mount shared folder documents to /sharedfolders/documents.
-- Subject: Unit sharedfolders-documents.mount has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit sharedfolders-documents.mount has failed.
--
-- The result is dependency.
Mar 27 22:17:15 nas systemd[1]: sharedfolders-documents.mount: Job sharedfolders-documents.mount/start failed with result 'dependency'.
Alles anzeigen
I obtain the same error when I try to add a share from another disk (external disk) newly added and formatted from OVM.
I don't have another internal disk, then I didn't try to add a share from an "generic"internal hdd.
Does someone have some idea why I meet this problem?
If you want I can send you an OVM System Report.
Thanks,
Chris