Mirror disk problem


 
Thread Tools Search this Thread
Operating Systems Solaris Mirror disk problem
# 1  
Old 06-02-2016
Mirror disk problem

Hello all,

i have the mirror disk problem with SunOS 5.10.

here's the message:
Code:
# 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
# 2  
Old 06-02-2016
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
Code:
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.

Last edited by MadeInGermany; 06-02-2016 at 04:18 AM..
# 3  
Old 06-02-2016
Quote:
Originally Posted by MadeInGermany
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
Code:
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?
# 4  
Old 06-02-2016
Please first check /var/adm/messages; there should be disk errors reported.
Please report them here.
# 5  
Old 06-09-2016
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.

Last edited by Revenant; 06-14-2016 at 06:29 AM.. Reason: Missed details from original post
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

What is the difference between DRD and Root Mirror Disk using LVM mirror ?

what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies

2. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

3. Solaris

Disk Mirror Question

Long time Linux, relatively new to Solaris. Currently I have a Solaris 9 machine which has a mirrored root disk. We will be running some tests on this machine, and when those tests are done we want to restore it to "pre-test" status. What I would like to do is break the mirror, pull the first... (2 Replies)
Discussion started by: brianr
2 Replies

4. Solaris

Mirror the root disk

Hi all I wish to mirror for the root disk, but last time i do, make the server cannot boot up. :p So this time, hope you guys can assist me on it. =) At the last code, is the step i wish to do. Please help to check and correct me if got any wrong. root@leo # format </dev/null Searching for... (17 Replies)
Discussion started by: SmartAntz
17 Replies

5. UNIX for Dummies Questions & Answers

why need to mirror disk if we had backups ?

hi.. newbie here, just wonder why there is a need for mirroring in some servers whereby we already had backups by cron jobs ? (4 Replies)
Discussion started by: Exposure
4 Replies

6. Filesystems, Disks and Memory

Mirror system disk

I have a SUN 440 running Solaris 8 that is generating funny errors on /dev/dsk/c1t0d0 and I would like to dupe the drive(the non offending drives are removed for this process), swap it with the dupe and reboot. From what I have read, the process seems simple: dd if=/dev/dsk/c1t0d0... (1 Reply)
Discussion started by: hardyj
1 Replies

7. Solaris

Disk failuare in mirror

Hi, I want to know if one disk is failed in mirror in solaris and system is booted from another disk, is it possible to find out from which disk system is booted at command level? (1 Reply)
Discussion started by: manoj.solaris
1 Replies

8. AIX

How to remove disk from mirror?

Hello, I've got 2 system disks (hdisk0 and hdisk1) in the mirror (RAID1) on AIX 5.3. Since the hdisk1 makes some troubles, we want to replace it with the new one. How can I disable this hdisk1 disk and prepare the mirror to use the new physical disk? As far as I know, I must remove disk from the... (3 Replies)
Discussion started by: Yac
3 Replies

9. UNIX for Dummies Questions & Answers

disk suite to mirror both d0 and d2

I have 2 drives on a sun solaris 8 server that is a live server. I am putting in an additional 2 drives and want to mirror the the first 2. I was thinking of using disksuite but one drive is the root drive with 1 maybe 2 free paritions. The other is only one partition (36G). I was wondering... (2 Replies)
Discussion started by: csgonan
2 Replies

10. HP-UX

HP UX Disk Mirror

Being somewhat extremely new to Unix, I have just had a system crash One of my Volume Groups has crashed However, this Volume Group is actually mirrored How do I switch to use the mirrored copy? Any assistance greatly appreciated Thanks (1 Reply)
Discussion started by: cobdeng
1 Replies
Login or Register to Ask a Question