Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2012 14:31:12 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Johan Hendriks" <joh.hendriks@gmail.com>, "Beeblebrox" <zaphod@berentweb.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: [ZFS] How to fix corrupt ZDB
Message-ID:  <8F907219A6904829A66E1E9A01696CF4@multiplay.co.uk>
References:  <1352294866076-5758864.post@n5.nabble.com> <509A66D2.5060706@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The way that zdb finds things can be dodgy, so while everything else is
working zdb can often fail.

If your tank is working ok and all devices are online then try:-
zpool reguid <pool>

This will rewrite all labels to the vdevs using current settings.

    Regards
    Steve

----- Original Message ----- 
From: "Johan Hendriks" <joh.hendriks@gmail.com>
To: "Beeblebrox" <zaphod@berentweb.com>
Cc: <freebsd-fs@freebsd.org>
Sent: Wednesday, November 07, 2012 1:49 PM
Subject: Re: [ZFS] How to fix corrupt ZDB


> 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
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster@multiplay.co.uk.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F907219A6904829A66E1E9A01696CF4>