Skip to content

How to remove broken/empty/unexistent ZFS pool? #13722

Answered by rincebrain
interduo asked this question in Q&A
Discussion options

You must be logged in to vote

If the pool is showing up in zpool status, it was not exported at the time you ran zpool status.

I seem to recall people reporting issues trying to export things themselves on Proxmox and being surprised that it imported them again behind their back, so that might be burning you. Docker in particular, if I recall, does such things if it thinks it's in control of a pool.

That said, once you have yanked the disks to a live pool, you can either put them back, hope zpool destroy removes it and doesn't hang until reboot, or reboot. #11082 tracks the work for trying to allow you to export a pool that's stuck in the middle of holding some locks, but it turns out that the dance to drop every lock…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@interduo
Comment options

Answer selected by interduo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants