Re: Re: Defect zpool after replacing hard discs
- From: "Thorsten Heit" <
- Subject: Re: Re: Defect zpool after replacing hard discs
- Date: Fri, 19 Jul 2013 16:01:59 +0200
> Yes, possibly so. IIRC the top-level vdev guid is a hash of
> component device guid's, so that the system can verify that
> it uses right components (this is needed, in particular,
> when dealing with varying device path names).
> Each physical device has 4 copies of the label, which should
> be the same, but different component devices have their
> individual label contents (including that device's GUID).
> > Is there any possibility to, say, manually change this guid somehow?
> > For example by manually reading some data block from the disc, change
> > several bytes, store it back etc.?
> Technically - yes there is :)
> You can take a look at the format spec (yes it is old and obsolete,
> but the last and best there was ever published), for example here:
> Also look at the source code (i.e. at http://src.illumos.org) for
> reference on formulas and other methods of verification involved.
Ok, thanks. I already feared that I had to do something like that...
> Sorry that I am not qualified to help more, even though I struggled
> with similar failures in the past (worked around them differently
> or did not pursue when they were not fatal to my home-NAS box).
> Possibly, the illumos zfs mailing list would be of more help - there
> are many developers and hackers there who know the under-the-hood
> better than myself :)
Didn't know about the illumos mailing ist, thanks for your hints!