How to replace a failed disksuite 2nd. boot disk drive?

From: Dave Martini 1 (martini1@llnl.gov)
Date: Thu Jan 24 2008 - 13:08:04 EST


My 2nd. internal boot drive in my 280R is failing and needs to be
replaced according to metastat command.
Do I have to undo any of the mirrors on the affected disk first?
Do I need to remove the state database from the bad drive first?
The affected metadevice is d5 below but that disk is also part of other
metadevices.
Here is my plan.

1. Pull bad drive (2nd. internal) while system is up and running.
2. Install new drive.
3. Partition new drive to match the primary boot disk in the system now.
4. Issue this command:
metareplace -e d5 c1t1d0s0

Do the above steps look correct or am I missing a step or two?
Or should I shut the system down and then replace the bad drive?

Thank You.
Dave Martini
LLNL

ton:/[5]% metastat
d14: Mirror
    Submirror 0: d12
      State: Okay
    Submirror 1: d13
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 104863680 blocks (50 GB)

d12: Submirror of d14
    State: Okay
    Size: 104863680 blocks (50 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t0d0s5 0 No Okay Yes

d13: Submirror of d14
    State: Okay
    Size: 104863680 blocks (50 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t1d0s5 0 No Okay Yes

d8: Mirror
    Submirror 0: d6
      State: Okay
    Submirror 1: d7
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 5128704 blocks (2.4 GB)

d6: Submirror of d8
    State: Okay
    Size: 5128704 blocks (2.4 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t0d0s4 0 No Okay Yes

d7: Submirror of d8
    State: Okay
    Size: 5128704 blocks (2.4 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t1d0s4 0 No Okay Yes

d5: Mirror
    Submirror 0: d3
      State: Okay
    Submirror 1: d4
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 12292608 blocks (5.9 GB)

d3: Submirror of d5
    State: Okay
    Size: 12292608 blocks (5.9 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t0d0s0 0 No Okay Yes

d4: Submirror of d5
    State: Needs maintenance
    Invoke: metareplace d5 c1t1d0s0 <new device>
    Size: 12292608 blocks (5.9 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t1d0s0 0 No Maintenance Yes

d0: Mirror
    Submirror 0: d1
      State: Okay
    Submirror 1: d2
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 104863680 blocks (50 GB)

d1: Submirror of d0
    State: Okay
    Size: 104863680 blocks (50 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c3t0d0s0 0 No Okay Yes

d2: Submirror of d0
    State: Okay
    Size: 104863680 blocks (50 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c3t1d0s0 0 No Okay Yes

d11: Mirror
    Submirror 0: d9
      State: Okay
    Submirror 1: d10
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 4100928 blocks (2.0 GB)

d9: Submirror of d11
    State: Okay
    Size: 4100928 blocks (2.0 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t0d0s1 0 No Okay Yes

d10: Submirror of d11
    State: Okay
    Size: 4100928 blocks (2.0 GB)
    Stripe 0:
        Device Start Block Dbase State Reloc Hot Spare
        c1t1d0s1 0 No Okay Yes

Device Relocation Information:
Device Reloc Device ID
c1t1d0 Yes id1,ssd@w2000000c504a2309
c1t0d0 Yes id1,ssd@w2000000c504a32ce
c3t1d0 Yes
id1,sd@w4849544143484920444b3332454a2d37324e4320202020203431335135343538
c3t0d0 Yes
id1,sd@w4849544143484920444b3332454a2d37324e4320202020203431335331343439

root@ton:/[6]% metadb -i
        flags first blk block count
     a m p luo 16 8192 /dev/dsk/c3t0d0s3
     a p luo 8208 8192 /dev/dsk/c3t0d0s3
     a p luo 16400 8192 /dev/dsk/c3t0d0s3
     a p luo 16 8192 /dev/dsk/c3t1d0s3
     a p luo 8208 8192 /dev/dsk/c3t1d0s3
     a p luo 16400 8192 /dev/dsk/c3t1d0s3
     a p luo 16 8192 /dev/dsk/c1t0d0s6
     a p luo 8208 8192 /dev/dsk/c1t0d0s6
     a p luo 16 8192 /dev/dsk/c1t1d0s6
     a p luo 8208 8192 /dev/dsk/c1t1d0s6
_______________________________________________
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:42:42 EDT