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
fdisk,

  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
config:

        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>
          /pci@0,0/pci10de,5d@d/pci1000,3150@0/sd@0,0
       4. c2t0d1 <SUN-LCSM100_S-0670-680.00GB>
          /pci@0,0/pci10de,5d@e/pci1000,3150@0/sd@0,1

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...

Thanks,

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to