Hi, I am trying to delete a ZFS pool consisting of 2 drives in a mirrored configuration.
One of the drive died and has been removed so it is in a degraded state. I have removed the SMB shares and shared folders referencing to it.
When I try to delete the pool via the GUI, I get the following error.
I suppose there is a process I need to kill, but I am not sure how to do, could I get a hint?
Code
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; zpool destroy "MediaPool" 2>&1' with exit code '1': cannot destroy 'MediaPool': pool is busy in /usr/share/php/openmediavault/system/process.inc:182
Stack trace:
#0 /usr/share/omvzfs/Utils.php(438): OMV\System\Process->execute(Array, 1)
#1 /usr/share/omvzfs/Zpool.php(589): OMVModuleZFSUtil::exec('zpool destroy "...', Array, 1)
#2 /usr/share/omvzfs/Utils.php(81): OMVModuleZFSZpool->destroy()
#3 /usr/share/openmediavault/engined/rpc/zfs.inc(269): OMVModuleZFSUtil::deleteOMVMntEnt(Array, Object(OMVModuleZFSZpool))
#4 [internal function]: OMVRpcServiceZFS->deleteObject(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#6 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('deleteObject', Array, Array)
#7 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('ZFS', 'deleteObject', Array, Array, 1)
#8 {main}
Alles anzeigen