Problems during booting from mirror disk

Hi All,

I have detached a mirror and primary disk from my Solaris box.

On trying to boot from Primary disk, It boots up good.

But from my mirror disk, it is not booting and giving me the login prompt

Instead it goes to maintenance state by issuing a coredump.

Can you explain why this happens.

Also with out rectifying mirror , i cant go fo installing in boot ( primary )

is it sparc or x86 solaris?

Hi Duke,
Its solaris 10 SPARC

and it's mirrored with slvm? can you post the configuration and how you've done the setup?

Hi Duke

It is mirrored like this

# metastat -c
d20              m  2.0GB d21
    d21          s  2.0GB c1t0d0s1
d10              m  134GB d11
    d11          s  134GB c1t0d0s0
d22              s  2.0GB c1t1d0s1
d12              s  134GB c1t1d0s0
#

I have detached

metadetach d10 d12
metadetach d20 d22

Not it is not booting from mirror.

maybe the bootsector is missing on the mirror disk... have you run "installboot" for the / slice on the mirror disk? the setup looks ok for me and without knowing exactly what you've done it won't be easy to find an error...

http://wikis.sun.com/display/BigAdmin/Mirroring\+root\+With\+Solaris\+Volume\+Manager\+in\+the\+Solaris\+9\+and\+10\+OS

Hi Duke,

On booting the primary disk,
i am getting the login prompt and entered it.

But on the same case with mirror , i dont get the login prompt.
I have not done any thing wih primary as of now.

But i have installed patches in primary disk.

is it advisable to do install boot in mirror and the attach the primary with the mirror.

Pl advise.

  1. install your system
  2. patch the system
  3. follow the howto in the wiki link from my last post an do the mirror setup
  4. let the mirror sync
  5. don't break the mirror, just try to boot from mirror from "ok" prompt

thats how i do my installations...

Hi Duke,

MY node contains

# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@0,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@1,0
2. c1t2d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@2,0
3. c1t3d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1f,700000/scsi@2/sd@3,0

In this no of disk,

i dont know how to root mirror, can u guide me

follow the wiki link...