Mirror disk problem

Hello all,

i have the mirror disk problem with SunOS 5.10.

here's the message:

# metastat d15
d15: Mirror
    Submirror 0: d16
      State: Needs maintenance 
    Submirror 1: d17
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 132125184 blocks (63 GB)

d16: Submirror of d15
    State: Needs maintenance 
    Invoke: metareplace d15 c0t2d0s0 <new device>
    Size: 132125184 blocks (63 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c0t2d0s0          0     No     Maintenance   Yes 


d17: Submirror of d15
    State: Okay         
    Size: 132125184 blocks (63 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c0t3d0s0          0     No            Okay   Yes 


Device Relocation Information:
Device   Reloc  Device ID
c0t2d0   Yes    id1,sd@n500000e016b69c60
c0t3d0   Yes    id1,sd@n500000e016b769c0

i want to do the command metareplace d15 c0t2d0s0 <new device>. But i don't know what is the "<new device>" mean. i'd have try the command like metasync d15 or metareplace -e d15 c0t2d0s0 but the syncing stop in the middle of process.

note: the disk status is ok (green led) not fault (amber led) on SUN V445

Before you start resyncing ensure that c0t2d0s0 and c0t3d0s0 are equal in size!
The suggested command is if you have an additional new disk (that is very unlikely to ever be the case).
For in-place replacement use

metareplace -e d15 c0t2d0s0

It will automatically resync.
Just reading you have tried that. I guess the c0t2d0 disk has a bad sector i.e. is broken. Because only the vol manager software has detected the fault it would have to change the disk LED but this feature is not implemented.

Thanks for the answer MadeInGermany,

so i must replace the disk right? but how i know which disk must be replaced when all disk led is green?

Please first check /var/adm/messages; there should be disk errors reported.
Please report them here.

Hi rwprabowo
If you want to determine which physical disk in the array c0t2d0 is you could use format to analyze > read the disk, which should cause the disk indicator to flash.
Run format. Select the c0t2d0 disk from the AVAILABLE DISK SELECTION. Select analyze from the FORMAT MENU. Select read from the ANALYZE menu.
Use CTRL-C to interrupt this once you have identified the c0t2d0 disk

I should also mention, that if you are physically replacing the c0t2do disk that you will need to remove the metadevices and any metadb from this device. Then use cfgadm to unconfigure the disk.