- Joined
- Apr 16, 2020
- Messages
- 2,947
I have 4 Pools on my Scale Setup under 22.02.1 (I was on 22.02.2 but have since reverted due to boot issues)
However I have a Pool consisting of 4 * NVMe drives as a pair of striped mirrors. 2 * 2TB, 2 * 512GB. Its a test pool and has no real purpose at the moment.
I cannot delete it - every time I try its says that the pool is busy
The Pool consists of a DataSet and a zvol
When I try to delete the zvol I get
[EBUSY] Failed to delete dataset: cannot destroy 'NVMePool/iSCSI/iscsi.nvme.newnas.xen': dataset is busy
If I try zfs destroy -r NVMePool I get
cannot destroy 'NVMePool/iSCSI/iscsi.nvme.newnas.xen': dataset is busy
cannot destroy 'NVMePool/iSCSI': dataset already exists
It would appear that something is keeping the ZVOL open / working and thus preventing me from deleting the Pool
I could just remove and wipe the disks - but thats a ballache as it means taking the server out of the rack, removing a PCIe to NVMe Card, dismantling it and then wiping each disks seperately. And I can't do any of that till a restore completes
So I thought I would ask if anyone has any ideas?
However I have a Pool consisting of 4 * NVMe drives as a pair of striped mirrors. 2 * 2TB, 2 * 512GB. Its a test pool and has no real purpose at the moment.
I cannot delete it - every time I try its says that the pool is busy
root@NewNAS[~]# zpool status NVMePool
pool: NVMePool
state: ONLINE
scan: scrub repaired 0B in 00:00:40 with 0 errors on Tue Jun 28 00:00:42 2022
config:
NAME STATE READ WRITE CKSUM
NVMePool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
2d70c99c-bbe0-4a49-909a-d0b66d7aaa34 ONLINE 0 0 0
073d3270-e1cf-4c00-8ed0-98c737274a2e ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
42074efb-030d-4ed2-9258-06d689a2482b ONLINE 0 0 0
4ee3c8e5-da18-486a-a073-d835c13b9fce ONLINE 0 0 0
errors: No known data errors
root@NewNAS[~]#
The Pool consists of a DataSet and a zvol
When I try to delete the zvol I get
[EBUSY] Failed to delete dataset: cannot destroy 'NVMePool/iSCSI/iscsi.nvme.newnas.xen': dataset is busy
If I try zfs destroy -r NVMePool I get
cannot destroy 'NVMePool/iSCSI/iscsi.nvme.newnas.xen': dataset is busy
cannot destroy 'NVMePool/iSCSI': dataset already exists
It would appear that something is keeping the ZVOL open / working and thus preventing me from deleting the Pool
I could just remove and wipe the disks - but thats a ballache as it means taking the server out of the rack, removing a PCIe to NVMe Card, dismantling it and then wiping each disks seperately. And I can't do any of that till a restore completes
So I thought I would ask if anyone has any ideas?