Hello,
I'm encountering a non-fatal error message when quick wiping a hard drive in OMV via the WebUI. The error message I receive is below:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; blockdev --rereadpt '/dev/sde' 2>&1' with exit code '1': blockdev: ioctl error on BLKRRPART
: Device or resource busy
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LC_ALL=C.UTF-8; export LANGUAGE=; blockdev --rereadpt '/dev/sde' 2>&1' with exit code '1': blockdev: ioctl error on BLKRRPART
: Device or resource busy in /usr/share/openmediavault/engined/rpc/diskmgmt.inc:312
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(628): Engined\Rpc\DiskMgmt->Engined\Rpc\{closure}()
#1 /usr/share/openmediavault/engined/rpc/diskmgmt.inc(244): OMV\Rpc\ServiceAbstract->execBgProc()
#2 [internal function]: Engined\Rpc\DiskMgmt->wipe()
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array()
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod()
#5 /usr/sbin/omv-engined(544): OMV\Rpc\Rpc::call()
#6 {main}
Alles anzeigen
What I am doing is slowly growing my existing 8 drive RAID6 array using the multiple device plugin via replacing each drive with a bigger one.
- Remove a drive from the the array via the MD plugin of OMV
- Turn off my PC
- Replace the old drive with a bigger drive
- Turn back on my system
- Log back into OMV 7 WebUI
- Go to Storage > Disks, select the newly installed bigger disk and select wipe and select quick wipe. This is when I get the error message. I have reproduced this error message every time I have replaced one of my drives.
One thing I also noticed is that I am unable to select my newly wiped drive and use it to recover the array until I reboot OMV. MD will say the newly wiped drive is "busy". I have to reboot OMV to clear the issue, then I am able to go into Multiple Devices, select the new drive and start the recovery of the array. The recovery works fine.
I have repeated the above process 3 times now, each time I get the same error message. Thankfully I am still able to recover my array and everything works fine. I don't understand why I am getting this error message and how to prevent it.
I am running:
- OMV 7.7.9-1
- Plugins: openmediavualt-backup 7.1.4, openmediavault-md 7.0.5-1, openmediavault-omvextrasorg 7.0.2, openmediavault-resetperms 7.1