Done mirroring, aliasing in OPB; can't boot from second drive

Hi,

Configured mirroring and while testing whether we can boot off from the mirror drive, it says 揅an't locate boot device?I've done required aliasing in Open Boot PROM.

--

# ls -al /dev/dsk/c0t1d0s0

lrwxrwxrwx1 rootroot 43 Sep 28 14:08 /dev/dsk/c0t1d0s0 -> ../../devices/pci@1c,600000/scsi@2/sd@1,0:a

Rebooting with command: boot mirrordisk

Boot device: /pci@1c,600000/scsi@2/sd@1,0:a File and args:

Evaluating:

Can't locate boot device

{0} ok boot

Now, what might be the problem from booting off from second hard drive? Here follows the metastatus output:

# metastat

d5: Mirror

Submirror 0: d15

State: Okay

Submirror 1: d25

State: Okay

Pass: 1

Read option: roundrobin (default)

Write option: parallel (default)

Size: 18434709 blocks (8.8 GB)

d15: Submirror of d5

State: Okay

Size: 18434709 blocks (8.8 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t0d0s5 0NoOkayYes

d25: Submirror of d5

State: Okay

Size: 18434709 blocks (8.8 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t1d0s5 0NoOkayYes

d3: Mirror

Submirror 0: d13

State: Okay

Submirror 1: d23

State: Okay

Pass: 1

Read option: roundrobin (default)

Write option: parallel (default)

Size: 4194828 blocks (2.0 GB)

d13: Submirror of d3

State: Okay

Size: 4194828 blocks (2.0 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t0d0s3 0NoOkayYes

d23: Submirror of d3

State: Okay

Size: 4194828 blocks (2.0 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t1d0s3 0NoOkayYes

d1: Mirror

Submirror 0: d11

State: Okay

Submirror 1: d21

State: Okay

Pass: 1

Read option: roundrobin (default)

Write option: parallel (default)

Size: 18434709 blocks (8.8 GB)

d11: Submirror of d1

State: Okay

Size: 18434709 blocks (8.8 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t0d0s1 0NoOkayYes

d21: Submirror of d1

State: Okay

Size: 18434709 blocks (8.8 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t1d0s1 0NoOkayYes

d0: Mirror

Submirror 0: d10

State: Okay

Submirror 1: d20

State: Okay

Pass: 1

Read option: roundrobin (default)

Write option: parallel (default)

Size: 17409114 blocks (8.3 GB)

d10: Submirror of d0

State: Okay

Size: 17409114 blocks (8.3 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t0d0s0 0NoOkayYes

d20: Submirror of d0

State: Okay

Size: 17409114 blocks (8.3 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t1d0s0 0NoOkayYes

d7: Mirror

Submirror 0: d17

State: Okay

Submirror 1: d27

State: Okay

Pass: 1

Read option: roundrobin (default)

Write option: parallel (default)

Size: 12289806 blocks (5.9 GB)

d17: Submirror of d7

State: Okay

Size: 12289806 blocks (5.9 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t0d0s7 0NoOkayYes

d27: Submirror of d7

State: Okay

Size: 12289806 blocks (5.9 GB)

Stripe 0:

DeviceStart Block DbaseState Reloc Hot Spare

c0t1d0s7 0NoOkayYes

Device Relocation Information:

DeviceReloc Device ID

c0t1d0Yesid1,sd@SSEAGATE_ST336607LSUN36G_3JA2B1AF000074033N6L

c0t0d0Yesid1,sd@SSEAGATE_ST336607LSUN36G_3JA2B5BH000074033C3Z

--

Please shed some light what I'm missing, thanks.

TIA

--

Raqueeb Hassan

Bangladesh

[3862 byte] By [Raqueeb] at [2007-11-26 10:33:56]
# 1
Hello,You must replace the majorname sd with disk./pci@1c,600000/scsi@2/sd@1,0:a/pci@1c,600000/scsi@2/disk@1,0:aRegards.
@alex@ at 2007-7-7 2:42:48 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2

Thanks very much for the pointer. It works.

I followed "Configuring Boot Disks With Solaris?Volume Manager Software" from blueprint, they haven't talked about "sd" when it shows "disk" instead.

My show-disks says;

{1} ok show-disks

a) /pci@1c,600000/scsi@2,1/disk

b) /pci@1c,600000/scsi@2/disk

c) /pci@1e,600000/ide@d/cdrom

d) /pci@1e,600000/ide@d/disk

q) NO SELECTION

Thanks once again.

--

Raqueeb Hassan

Bangladesh

Raqueeb at 2007-7-7 2:42:49 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...