[OpenIndiana-discuss] Need Help Fixing Zpool misconfiguration

Guenther Alka alka at hfg-gmuend.de
Thu Nov 22 17:41:14 UTC 2018


Only Solaris can remove a basic vdev from a pool with a raid-Z. Open-ZFS 
cannot (yet) . If you cannot destroy/ recreate the pool you can only add 
a disk to the basic vdev to make it a mirror (add redundancy)

Gea


Am 22.11.2018 um 18:06 schrieb Till Wegmüller:
> 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
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss




More information about the openindiana-discuss mailing list