Can't delete HDD

  • Hi,
    when i dtry to delete my HDD i get this Error:

    Fehler #0:
    exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; blockdev --rereadpt '/dev/sdb' 2>&1' with exit code '1': BLKRRPART: Device or resource busy' in /usr/share/openmediavault/engined/rpc/
    Stack trace:
    #0 /usr/share/php/openmediavault/rpc/ OMVRpcServiceDiskMgmt->{closure}('/tmp/bgstatuskb...', '/tmp/bgoutputQG...')
    #1 /usr/share/openmediavault/engined/rpc/ OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
    #2 [internal function]: OMVRpcServiceDiskMgmt->wipe(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/ call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/ 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 deleted all shares and unmount the HDD.
    I use OMV 3.

    Ok, got it.
    Had to cut the Sharing in the Windows PC

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!