How to remove broken/empty/unexistent ZFS pool? #13722
-
I was changing one of empty zpool drives. So I did:
ok - that's fine - but how to remove this? I would like to create new zpool with the same name (I don't want to reboot whole host). This situation is reproducable - generates OOPS in kernel when I run
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If the pool is showing up in 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 |
Beta Was this translation helpful? Give feedback.
If the pool is showing up in
zpool status
, it was not exported at the time you ranzpool 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…