How to get rid of an unavailable pool?
ipluta at wp.pl
Sat May 2 04:17:24 UTC 2020
(Sorry if this post appears twice. The first one, initially sent from another email account, does
not seem to appear.)
I have (or rather had) a pool like this:
$ sudo zpool status -v t
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
scan: none requested
NAME STATE READ WRITE CKSUM
t UNAVAIL 0 0 0
mirror-0 UNAVAIL 0 0 0
4304281762335857859 REMOVED 0 0 0 was /dev/da5
1909766900844089131 REMOVED 0 0 0 was /dev/da10
errors: Permanent errors have been detected in the following files:
That was a temporary test pool. I forgot to destroy or at least export the pool before pulling
these da5 and da10 drives out of the drivebay of the server. Now it can't be exported or destroyed,
the respective zpool operations hust hang. How to get rid now of this pool, preferably without
reboot? The da5 and da10 are no longer available to be put back, as they have been already moved
elsewhere, and are now part of another pool.
I guess the pool got stuck at the time of running /etc/periodic/security/100.chksetuid, when find
operation within it tried to traverse into the mountpoint of the pool.
The system is FreeBSD 11.2.
More information about the freebsd-questions