Deleting the base (and only) pool

Hello,

I’d like to delete/recreate my base and only Dataset in Raid z1, due to the issue with space measurment after extension. I’ve deleted all shares, all child datasets, stopped the SMB service, but now how do I delete the main dataset/raid-z1 pool and free the disks to recreate a new one? I’ve googled but found mostly hints for older versions, and I don’t have what’s mentioned in these posts in the gui (25.04) there.

Thanks.

sudo zpool destroy <poolname>

But your post conflates datasets, vdevs, and pools. So it’s unclear whether you are trying to nuke the whole pool or save the pool by repairing a vdev

1 Like

Thanks. I’m trying to nuke everything before recreating it. Seems docker is locking it atm:

cannot unmount ‘/mnt/.ix-apps/docker’: pool or dataset is busy
could not destroy ‘RAID’: could not unmount datasets

Edit: worked after stopping the apps service on the pool. Then I could delete it in the gui, should be fine now! I thought everything was possible from the gui, but seems not.

You can add -f flag to force destroy

It’s a good thing. You don’t want catastrophic data loss to be easy to accomplish :slight_smile:

1 Like

Export the pool from GUI and, in the confirmation dialog, tick the little box to destroy the pool in the process.

4 Likes