View Single Post

   
  #2 (permalink)  
Old 06-20-2008, 04:40 AM
Chris Ridd
 
Posts: n/a
Default Re: Removing an EFI disk label

On 2008-06-19 18:37:27 +0100, Chris Ridd <chrisridd@mac.com> said:

> I have removed a Sun-supplied 72GB SAS disk (c0t1d0) from our T2000's
> zpool, so I can use it as a mirror for the Sun-supplied 72GB system
> disk (c0t0d0).
>
> However, somehow the now-spare disk seems to have got an EFI label and
> not a VTOC one. This is causing the format program to report the slice
> sizes quite differently (cylinders in VTOC, start+end sectors in EFI)
> and now even though prtvtoc says the slices I'm trying to mirror are
> the same size, metattach fails and metastat says they're different
> sizes :-(
>
> It seems like one way to resolve this would be to put a VTOC label on
> the disk, but it isn't clear to me how, as I don't know the drive's
> geometry or anything.


.... and I just figured it out. Typical! After using metaclear and
metadb -d to make volume manager forget about the drive, I used "format
-e" and then the label command let me choose what kind of label I
wanted.

Sorry for the noise.

Cheers,

Chris

Reply With Quote