UPDATE: Boot Mirror hard disk

From: Balamurugan.T (murugan.bala@kla-tencor.com)
Date: Thu Dec 18 2003 - 08:06:07 EST


Hi admin...

sorry for the belated reply. now i prepared my server from scratch. so you
can omit previous setup.because i ran installboot command on my second hard
disk previously. Now I didn't run

as many of you suggested I changed boot alias for new mirror

now I am getting "Trap 3e at ok prompt" . System not getting booted

these are the following steps I performed.

#metainit -f d20 1 1 c0t0d0s0

#metainit d10 1 1 c0t1d0s0

#metainit d1 -m d20

#metaroot d1

#lockfs -fa

#reboot

#metatach d1 d10

-----------------------------------------------------------
d1: Mirror
    Submirror 0: d20
      State: Okay
    Submirror 1: d10
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20480121 blocks

d20: Submirror of d1
    State: Okay
    Size: 20480121 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t0d0s0 0 No Okay

d10: Submirror of d1
    State: Okay
    Size: 23065560 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t1d0s0 3402 Yes Okay
-----------------------------------------------------------------
my

devalias of OK prompt points to current disk as(c0t0d0s0) -This entry
working properly

/pci@1f,4000/scsi@3/disk@0,0

but when I give.

ls -l /dev/rdsk/c0t0d0s0 ---> /pci@1f,4000/scasi@3/sd@0,0:a,raw - It show
like this entry (is it correct)

like this my mirror hard disk which I want to boot now

I created nvalias to boot second hard disk.

d10: Submirror of d1
    State: Okay
    Size: 23065560 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t1d0s0 3402 Yes Okay
-----------------------------------------------------------------
my

devalias of OK prompt points to current disk as(c0t0d0s0) -This entry
working properly

/pci@1f,4000/scsi@3/disk@0,0

but when i give.

ls -l /dev/rdsk/c0t0d0s0 ---> /pci@1f,4000/scasi@3/sd@0,0:a,raw - It show
like this entry (is it correct)

like this my mirror hard disk which i want to boot now (c0t1d0s0)

i created
nvalias mirror /pci@1f,4000/scsi@3/disk@1,0

but the link points to
ls -l /dev/rdsk/c0t0d0s0 ---> /pci@1f,4000/scasi@3/sd@1,0:a,raw

ok boot mirror
Trap 3e (this is what i am getting. unable to boot)

-------------------------------------------------------------------
Ultra -60
uname -a
SunOS hostname 5.8 Generic_108528-09 sun4u sparc SUNW,Ultra-60
.

df -k / (shows)
/dev/md/dsk/d1 10080200 921841 9057557 10% /

Can anyone point me where the problem resides?

Bala
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:43 EDT