UPDATE: Boot Mirror hard disk

2007-12-25 2:33:00

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 at 1f,4000/scsi at 3/disk at 0,0

but when I give.

ls -l /dev/rdsk/c0t0d0s0 ---> /pci at 1f,4000/scasi at 3/sd at 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 at 1f,4000/scsi at 3/disk at 0,0

but when i give.

ls -l /dev/rdsk/c0t0d0s0 ---> /pci at 1f,4000/scasi at 3/sd at 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 at 1f,4000/scsi at 3/disk at 1,0

but the link points to
ls -l /dev/rdsk/c0t0d0s0 ---> /pci at 1f,4000/scasi at 3/sd at 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

Comments

Got something to say?

You must be logged in to post a comment.