Replace Failed disk with Solaris Disk Suite?

Do you detach all of the subdisks from the failed disk? Even those without errors? Thanks!
Rhiaanon44Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yuzhCommented:
Please have a look at my answer in http:Q_23921942.html
and http:Q_21697548.html
if you need more help, please post your OS version and version of Volume Manager (eg, Solaris Volume Manager, or Solstice DiskSuite for Solaris 8 or older)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rhiaanon44Author Commented:
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
yuzhCommented:
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.

amado217Commented:
Please provide the steps used to replace the disk.

Also, you should not need to break mirrors if the disk is failed.
Rhiaanon44Author Commented:
Thank you Yuzh!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.