[ZFS] How to fix corrupt ZDB

Johan Hendriks joh.hendriks at gmail.com
Wed Nov 7 13:49:10 UTC 2012


Beeblebrox schreef:
> I removed the HDD before deleting one of the zpools, then I added a ZIL
> device using gnop. Now I get multiple ashift values even though I have only
> 1 zpool (vdev):
> zdb mypool | grep ashift
> ashift: 9
> ashift: 12
> ashift: 9
> ashift: 12
>
> Looking through various ZDB functions has shown me that the previously
> removed pool is still in ZDB. But unfortunately the ZDB manual talks more
> about "status reporting" and not much about "error correction".
>
> Any ideas on how to correct/remove/delete faulty ZDB entries (other than
> re-install)?
>
Can you show the output of zpool status.

gr
johan


More information about the freebsd-fs mailing list