I have a Solaris 10 machine that I've been having an interesting time with
today. (Live Upgrade didn't work, stmsboot didn't work, I managed to rebuild
it with jumpstart at about the 10th attempt.)

Anyway, it looks like one of my drives has had its label overwritten by

  pool: disk00
    id: 10866402904016234458
 state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
        devices and try again.
   see: http://www.sun.com/msg/ZFS-8000-6X

        disk00       UNAVAIL  missing device
          c2t0d1     ONLINE

        Additional devices are known to be part of this pool, though their
        exact configuration cannot be determined.

And if I look at format, I see the drives [it's a 2530, btw] as

       0. c1t0d0 <DEFAULT cyl 44381 alt 2 hd 255 sec 126>
       4. c2t0d1 <SUN-LCSM100_S-0670-680.00GB>

So it looks like c1t0d0 (which is where I think the other half of the
pool is) has been relabelled by fdisk and has an SMI label on it.

Is there a way to reverse this, and if so, how?

This is annoying, rather than critical: the system is out of service
and I can reconstruct the data if necessary. Although knowing
how to fix this would be generally useful in the future...


-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
zfs-discuss mailing list

Reply via email to