Link to home
Start Free TrialLog in
Avatar of Ramona
RamonaFlag for United States of America

asked on

Replace Failed disk with Solaris Disk Suite?

Do you detach all of the subdisks from the failed disk? Even those without errors? Thanks!
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ramona

ASKER

Hi:

The disk was replaced, but the system didn’t recognize it and rebuild after the reboot.

 

bash-3.00# /usr/sbin/metadb

        flags           first blk       block count

     a m  p  luo        16              8192            /dev/dsk/c0t0d0s7

     a    p  luo        8208            8192            /dev/dsk/c0t0d0s7

     a    p  luo        16400           8192            /dev/dsk/c0t0d0s7

 

 

bash-3.00# /usr/sbin/metastat

d3: Mirror

    Submirror 0: d13

      State: Okay        

    Submirror 1: d23

      State: Needs maintenance

    Pass: 1

    Read option: roundrobin (default)

    Write option: parallel (default)

    Size: 18042048 blocks (8.6 GB)

 

d13: Submirror of d3

    State: Okay        

    Size: 18042048 blocks (8.6 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t0d0s3          0     No            Okay   Yes

 

 

d23: Submirror of d3

    State: Needs maintenance

    Invoke: metareplace d3 c0t1d0s3 <new device>

    Size: 18042048 blocks (8.6 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t1d0s3          0     No     Maintenance   Yes

 

 

d2: Mirror

    Submirror 0: d12

      State: Okay        

    Submirror 1: d22

      State: Needs maintenance

    Pass: 1

    Read option: roundrobin (default)

    Write option: parallel (default)

    Size: 34120128 blocks (16 GB)

 

d12: Submirror of d2

    State: Okay        

    Size: 34120128 blocks (16 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t0d0s5          0     No            Okay   Yes

 

 

d22: Submirror of d2

    State: Needs maintenance

    Invoke: metareplace d2 c0t1d0s5 <new device>

    Size: 34120128 blocks (16 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t1d0s5          0     No     Maintenance   Yes

 

 

d1: Mirror

    Submirror 0: d11

      State: Okay        

    Submirror 1: d21

      State: Needs maintenance

    Pass: 1

    Read option: roundrobin (default)

    Write option: parallel (default)

    Size: 24625920 blocks (11 GB)

 

d11: Submirror of d1

    State: Okay        

    Size: 24625920 blocks (11 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t0d0s1          0     No            Okay   Yes

 

 

d21: Submirror of d1

    State: Needs maintenance

    Invoke: metareplace d1 c0t1d0s1 <new device>

    Size: 24625920 blocks (11 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t1d0s1          0     No     Maintenance   Yes

 

 

d0: Mirror

    Submirror 0: d10

      State: Okay        

    Pass: 1

    Read option: roundrobin (default)

    Write option: parallel (default)

    Size: 16678464 blocks (8.0 GB)

 

d10: Submirror of d0

    State: Okay        

    Size: 16678464 blocks (8.0 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t0d0s0          0     No            Okay   Yes

 

 

d4: Mirror

    Submirror 0: d14

      State: Okay        

    Pass: 1

    Read option: roundrobin (default)

    Write option: parallel (default)

    Size: 48997440 blocks (23 GB)

 

d14: Submirror of d4

    State: Okay        

    Size: 48997440 blocks (23 GB)

    Stripe 0:

        Device     Start Block  Dbase        State Reloc Hot Spare

        c0t0d0s6          0     No            Okay   Yes

 

 

d20: Concat/Stripe

    Size: 16678464 blocks (8.0 GB)

    Stripe 0:

        Device     Start Block  Dbase   Reloc

        c0t1d0s0          0     No      Yes

 

Device Relocation Information:

Device   Reloc  Device ID

c0t0d0   Yes    id1,sd@SSEAGATE_ST973401LSUN72G_3810ZSVA____________3LB0ZSVA
Avatar of yuzh
yuzh

Did you break the mirrors before replacing the disk, please read the instructions (links) in my previous comment carefully.
Is the disk the same type as the old one? can you see the new disk in the OBP command, eg:
probe-scsi-all (for scsi disk)
probe-ide (for IDE disks)
if the disk is not the same model, you might need to perform a re-configure  boot.

Please provide the steps used to replace the disk.

Also, you should not need to break mirrors if the disk is failed.
Avatar of Ramona

ASKER

Thank you Yuzh!