[OpenIndiana-discuss] Need Help Fixing Zpool misconfiguration

Till Wegmüller toasterson at gmail.com
Thu Nov 22 17:06:30 UTC 2018


Hello

I had a slight mishap while configuring a Zpool.

I wanted to re-add a spare disk again after we had replaced it and made
a typo. Adding the device instead as top-level vdev.

aka typed:
zpool add $POOL $DEVICE
instead of
zpool add $POOL spare $DEVICE

Turns out even with top-level device_removal feature turned on I cannot
fix that typo.

If I type
zpool remove $POOL $DEVICE
I get
cannot remove $DEVICE: invalid config; all top-level vdevs must have the
same sector size and not be raidz.

Which is true because the rest of the Pool is part of a raidz2.

And of course as murphy wants it I cannot just ditch that pool beacause
it is too big to fit that data anywhere.

While I would love for zpool remove to be able to remove the DEVICE in
the future I wanted to ask you guys If you know a good Idea on how to
Workaround that problem in the meantime.

I really dont like having this single point of failure in the pool.

Any advice would be greatly appreciated
Thanks and Greetings
Till



More information about the openindiana-discuss mailing list