Well
I had created two sharedfolders (not included at smb shares in order to access them through cloudcmd and make a copy). The first share named hamilt (referenced->yes) with relative path Hamilton/ was sourced at a usb stick which was mounted.
Second was for Nextcloud which was inside one of my omv array disks with relative path Nextcloud/ and Referenced->no
Since there is no smb sharesd to start from there and delete them went to the next possible step which was shared folders from gui There directory hamilt cant be deleted (delete button grayed out) and I can edit it with no point, Also Nextcloud which gives me the opportunity to delete it getting an error after applying
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-hamilt.mount' 2>&1' with exit code '1': A dependency job for sharedfolders-hamilt.mount failed. See 'journalctl -xe' for details.
and in more 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-hamilt.mount' 2>&1' with exit code '1': A dependency job for sharedfolders-hamilt.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/bgstatusks...', '/tmp/bgoutputRA...')
#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
Here is the result of ps -ef | grep hamilt
root 7843 7810 0 02:50 pts/1 00:00:00 grep hamilt
Also tried with root from cli to umount /sharedfolders/hamilt alaso tried umount /srv/disk-by-id to unmount the usb stick and it seemed unmounted in filesystems. But no luck deleting those directories, Tried rm -r /path nothing....I am out of ideas. Any thoughts?
PS Already tried stopping all dockers in case any of them referencing hamilt (which dont) but still no way to delete it
With the below command lines
- sudo umount /your_path
- remove mout path in /etc/fstabsudo nano /etc/fstab
- rebootsudo reboot
- remove directorysudo rm -rf /your_path
tried and seemed to be removed but in the gui at sharedfolders tab still there Managed to change the device from usb stick to hdd inside array and that gave me access to ACL tab Delete tab still disabled Tried to make ans smb share with that direcctory in case there were data inside but it was empty.