Any method to clear a pool where the disk is no longer attached or available?

Ziggy

Contributor
Joined
Oct 7, 2015
Messages
157
I created a new pool with 1 SSD connected via USB so as to copy some data over and a short time in the pool failed due to the faulty SSD. After several failed attempts to offline / detach the drive I eventually just sent the drive back to the seller and I'm left with an 'UNAVAIL' pool that I cannot remove from the GUI. I attach the current errors, but initially I'm wondering is there any simple way to simply remove this pool or is a clean re-install the only option?

zpool status replies:
pool: ZIGNAS3
state: UNAVAIL
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-JQ
config:

NAME STATE READ WRITE CKSUM
ZIGNAS3 UNAVAIL 0 0 0 insufficient replicas
49f635dd-6e39-49b7-82c3-1a3d5205600e UNAVAIL 0 0 0

zpool destroy replies:
cannot unmount '/mnt/ZIGNAS3': pool or dataset is busy
could not destroy 'ZIGNAS3': could not unmount datasets

Thanks in advance.
FreeNAS Mini 2.0
TrueNAS-SCALE-22.02.4
 

Attachments

  • Zignas3 Remove Errors.txt
    7.2 KB · Views: 84
Top