Hello,
I've got a big issue with my Shared Folders.
Few days ago I removed six 1TB HDDs, each of them with a Shared Folder and a SMB Share. Because the Space was not enough I've bought four 4TB WD Reds for a RAID 5.
For certain reasons I've only removed the old HDDs without delete their Shared Folders and Shares (because the data on them have to copied to the raid).
So I've replaced four of the 1TB with the 4x4TB as Software RAID.
Two of the old HDDs stay connected for copying the data to the raid.
After I've copied all of the data to the RAID, I've got some issues with OMV.
First, it was a bit tricky to delete the Shared Folders, cause of the references on SMB, so I removed the SMB shares in the config.xml.
But still can't remove the Shared Folders in the webinterface, so I removed the Shared Folders also in the config.xml.
Now I can't see anything from the old HDDs but I still can't add or remove Shared Folders and that is a big problem.
If I try to add a Shared Folder, they show me an error:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-PXE.mount' 2>&1' with exit code '1': Job for sharedfolders-PXE.mount failed. See "systemctl status sharedfolders-PXE.mount" and "journalctl -xe" for details.
And the details:
Fehler #0:
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl restart 'sharedfolders-PXE.mount' 2>&1' with exit code '1': Job for sharedfolders-PXE.mount failed.
See "systemctl status sharedfolders-PXE.mount" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:175
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/bgstatustr...', '/tmp/bgoutputOn...')
#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
PXE is not the sharedfolder I would add. It's a folder of a old HDD and it's still online.
It's the same error if I try to remove a sharedfolder.
systemctl status sharedfolders-PXE.mount show me:
root@NAS:~# systemctl status sharedfolders-PXE.mount
● sharedfolders-PXE.mount - Mount shared folder PXE to /sharedfolders/PXE
Loaded: loaded (/etc/systemd/system/sharedfolders-PXE.mount; enabled; vendor preset: enabled)
Active: active (mounted) (Result: exit-code) since Thu 2018-08-30 19:09:46 CEST; 39s ago
Where: /sharedfolders/PXE
What: /dev/sdh1
Process: 2610 ExecUnmount=/bin/umount /sharedfolders/PXE (code=exited, status=32)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/sharedfolders-PXE.mount
Aug 30 19:06:21 NAS systemd[1]: Mounting Mount shared folder PXE to /sharedfolders/PXE...
Aug 30 19:06:21 NAS systemd[1]: Mounted Mount shared folder PXE to /sharedfolders/PXE.
Aug 30 19:08:53 NAS systemd[1]: Unmounting Mount shared folder PXE to /sharedfolders/PXE...
Aug 30 19:08:53 NAS systemd[1]: sharedfolders-PXE.mount: Mount process exited, code=exited status=32
Aug 30 19:08:53 NAS systemd[1]: Failed unmounting Mount shared folder PXE to /sharedfolders/PXE.
Aug 30 19:09:46 NAS systemd[1]: Unmounting Mount shared folder PXE to /sharedfolders/PXE...
Aug 30 19:09:46 NAS systemd[1]: sharedfolders-PXE.mount: Mount process exited, code=exited status=32
Aug 30 19:09:46 NAS systemd[1]: Failed unmounting Mount shared folder PXE to /sharedfolders/PXE.
Alles anzeigen
I have no idea how I can fix it. In my opinion OMV try to unmount all sharedfolders and PXE is in use, but it's the first time I've got problems like this when I'm adding or removing shared folders.
Sorry for my bad english, it's not my first language.