Solaris 10 RAID bug 6901327 - better workaround

Ahoy.
If you've just initialized RAID 1 on 2 disks with a recent Solaris 10, you'll hit a bug - 6901327. Label can't be written to the disks after you initialize a RAID volume.

The workaround in the bugnotes is pretty shit - you have to use an earlier version of Solaris, boot off that in Single user mode and create your label. This sucks so here's a quicker way:

After you create the volume, issue (if c1t0d0 is your new RAID volume):
format -e c1t0d0
label
1
Yes
q
format -e c1t0d0
label
0
[enter]
[enter]
[enter]

You'll create an EFI label, which isn't what you want but it will write. Then you change this to an SMI label - which is what couldn't be written in the first place.

Laters

Comments

Anonymous said…
nice workaround. Solaris 10 update 11 seems to have a similar bug. format -e then label 1 then label 0 seems to fix this. thanks
Giovanni Carlo said…

metronidazole for fish is an antibiotic (for anaerobic bacteria) and anti-protozoa medication used to treat a wide range of conditions internally

Popular Posts