I'm running a fresh 4.1.3 installation. Followed this tutorial:
I have an 250GB SSD where the OMV is installed and an additional 1TB HDD.
This 1TB HDD was used in windows environment before, but after OMV installation I did a secure wipe of it from the OMV UI.
This is how the filesystem looks at the moment:
Everything works fine until this point, but I get an error when I try to create a shared folder.
When I try to create a shared folder named "Media" like this:
Full error:
Error #0:
OMV\Exception: Failed to create the directory '/srv/dev-disk-by-id-ata-ST1000DM003-1SB10C_Z9A269YD-part1/Media': in /usr/share/openmediavault/engined/rpc/sharemgmt.inc:323
Stack trace:
#0 [internal function]: OMVRpcServiceShareMgmt->set(Array, Array)
#1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('set', Array, Array)
#3 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('ShareMgmt', 'set', Array, Array, 1)
#4 {main}
I have tried to wipe the drive again, but when I try I get this error instead: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; blockdev --rereadpt '/dev/sdb' 2>&1' with exit code '1': blockdev: ioctl error on BLKRRPART: Device or resource busy
Error details below:
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; blockdev --rereadpt '/dev/sdb' 2>&1' with exit code '1': blockdev: ioctl error on BLKRRPART: Device or resource busy in /usr/share/openmediavault/engined/rpc/diskmgmt.inc:273
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMVRpcServiceDiskMgmt->{closure}('/tmp/bgstatus6i...', '/tmp/bgoutputyr...')
#1 /usr/share/openmediavault/engined/rpc/diskmgmt.inc(277): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceDiskMgmt->wipe(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('wipe', Array, Array)
#5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('DiskMgmt', 'wipe', Array, Array, 1)
#6 {main}
I somehow feel that this is hard-drive related, but I can't tell exactly how. Any guidance is appreciated. Thank you!