Disk crashed


 
Thread Tools Search this Thread
Operating Systems Solaris Disk crashed
# 1  
Old 01-07-2010
Disk crashed

My system is SUN Solaris 5.6 and one of the disks on the server got crashed. Here are the details


Code:
 
d23: Mirror
    Submirror 0: d24
      State: Okay
    Submirror 1: d25
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 308560 blocks
d24: Submirror of d23
    State: Okay
    Size: 308560 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t0d0s5                   0     No    Okay

d25: Submirror of d23
    State: Okay
    Size: 308560 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t4d1s5                   0     No    Okay

d33: Mirror
    Submirror 0: d34
      State: Needs maintenance
    Submirror 1: d35
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 54720 blocks
d34: Submirror of d33
    State: Needs maintenance
    Invoke: metareplace d33 c0t3d0s5 <new device>
    Size: 54720 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase State        Hot Spare
        c0t1d0s5                   0     No    Okay
        c0t3d0s5                   0     No    Maintenance
        c0t5d0s5                   0     No    Okay

d35: Submirror of d33
    State: Okay
    Size: 54720 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase State        Hot Spare
        c0t1d1s5                   0     No    Okay
        c0t3d1s5                   0     No    Okay
        c0t5d1s5                   0     No    Okay

d36: Mirror
    Submirror 0: d37
      State: Needs maintenance
    Submirror 1: d38
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 54720 blocks
d37: Submirror of d36
    State: Needs maintenance
    Invoke: metareplace d36 c0t3d0s6 <new device>
    Size: 54720 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase State        Hot Spare
        c0t1d0s6                   0     No    Okay
        c0t3d0s6                   0     No    Maintenance
        c0t5d0s6                   0     No    Okay

d38: Submirror of d36
    State: Okay
    Size: 54720 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase State        Hot Spare
        c0t1d1s6                   0     No    Okay
        c0t3d1s6                   0     No    Okay
        c0t5d1s6                   0     No    Okay

d40: Mirror
    Submirror 0: d42
      State: Okay
    Submirror 1: d41
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 45600 blocks
d42: Submirror of d40
    State: Okay
    Size: 45600 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t2d1s4                   0     No    Okay

d41: Submirror of d40
    State: Okay
    Size: 45600 blocks
    Stripe 0:
        Device              Start Block  Dbase State        Hot Spare
        c0t4d0s4                   0     No    Okay

d21: Concat/Stripe
    Size: 4038640 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t2d0s1                   0     No
        c0t4d0s1                1520     No
d22: Concat/Stripe
    Size: 4038640 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t0d1s1                   0     No
        c0t2d1s1                1520     No
d26: Concat/Stripe
    Size: 14557040 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t0d1s6                   0     No
        c0t2d1s6                   0     No
        c0t4d1s6                   0     No
    Stripe 1: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t3d3s0                1520     No
        c0t5d3s0                1520     No
d28: Concat/Stripe
    Size: 6168160 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t1d0s1                   0     No
        c0t3d0s1                1520     No
        c0t5d0s1                1520     No
d29: Concat/Stripe
    Size: 6168160 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t1d1s1                   0     No
        c0t3d1s1                1520     No
        c0t5d1s1                1520     No
d31: Concat/Stripe
    Size: 6174240 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t1d0s3                   0     No
        c0t3d0s3                   0     No
        c0t5d0s3                   0     No
d32: Concat/Stripe
    Size: 6174240 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t1d1s3                   0     No
        c0t3d1s3                   0     No
        c0t5d1s3                   0     No
d39: Concat/Stripe
    Size: 4134400 blocks
    Stripe 0: (interlace: 32 blocks)
        Device              Start Block  Dbase
        c0t2d0s3                   0     No
        c0t4d0s3                   0     No

this is the output of the metastat. Now the disk c0t3d0 is corrupted.Now
according to output the slices from this disk are used to create metadevices d28 and d31. It means these stripes are also corrupted.

this is the df -k listing

Code:
 
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0     192807   57345  116182    34%    /
/dev/dsk/c0t0d0s6     827678  485228  259683    66%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c0t0d0s4      96031   47361   39067    55%    /var
/dev/dsk/c0t1d3s0    2011630   63054 1888228     4%    /esm
/dev/md/dsk/d23       144799  100579   44220    70%    /dbs/data
/dev/dsk/c0t0d0s3     192807   58012  115515    34%    /opt
/dev/dsk/c0t4d1s0     192807  189579    3228    99%    /dbs/tempspace
/dev/dsk/c0t4d1s1     192807   57764  115763    34%    /spare
/dev/dsk/c0t4d1s3     439751  280932  114844    71%    /usr/oracle
/dev/md/dsk/d26      6842422 2783211 3374969    46%    /ncm
/dev/md/dsk/d39      1943421 1895387   48034    98%    /dbs/rollback
/dev/md/dsk/d40        21327    8331   12996    40%    /dbs/control
/dev/md/dsk/d28      2899148 2817411   81737    98%    /dbs/model1_1
/dev/md/dsk/d29      2899148 2817411   81737    98%    /dbs/model1_2
/dev/md/dsk/d31      2902188 2817411   84777    98%    /dbs/model2_1
/dev/md/dsk/d32      2902188 2902163      25   100%    /dbs/model2_2
/dev/md/dsk/d33        25159   10411   14748    42%    /dbs/logs
/dev/md/dsk/d36        25159   20515    4644    82%    /dbs/system
/dev/md/dsk/d21      1897693 1536779  171145    90%    /dbs/journal_1
/dev/md/dsk/d22      1897693 1536779  171145    90%    /dbs/journal_2
swap                  585360      72  585288     1%    /tmp

model1 and model2 are my database schemas which i am not able to access.Now The disk c0t3d0 is being replaced.


now how the mirrors and the stripes be brought to the same state.
can some one provide me with the step by step details.Its urgent and any help will be much appreciated.

Many Thanks
# 2  
Old 01-07-2010
please search the forums before such posts. there are several posts that tackle this exact situation

something like this should help you along
Replacing a Failed Disk in Solaris Mirror (SVM)
just realize that your disk's will be different and not all the commands may apply (step by step) to you. adjust where needed
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

System got crashed.

Hi Admins, In my local Vmware system i have installed solaris but while getting my root disk mirrored in svm I changed the vfstab entries and rebooted the server , the server got crashed, and now the root file systems and other filesystems are crashed. Please help me in recovering this. (2 Replies)
Discussion started by: Laxxi
2 Replies

2. Red Hat

What do you do right after a server crashed.

What do you check???? Thanks! JC (0 Replies)
Discussion started by: 300zxmuro
0 Replies

3. Linux

system getting crashed

Hello, Iam a running a apache webserver in CentOS and i get a heavy traffic about 2.5 lac pageviews daily and my db size is about 2GB. Now the problem is after serving some lacs of requests by apache....Both apache and mysql hangouts and the system gets hanged up...using all resources in the... (2 Replies)
Discussion started by: dheeraj4uuu
2 Replies

4. SuSE

suse 9 crashed

Hi, Running SLES 9 (update 4) on dell's poweredge 1950 server. Kernel: 2.6.5-7.315-smp #1 SMP Wed Nov 26 13:03:18 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux Yesterday night my monitoring service emailed me system(ssh/smtp) unreachable...I tried connection through ssh, it did not let me through... (0 Replies)
Discussion started by: upengan78
0 Replies

5. UNIX for Dummies Questions & Answers

crashed HD file transfer

I created a bootable CD from Slax and can now access my crashed HD files. Problem is I can't move them to my USB HD even though the device is recognized. From what I have learned, I must "mount" the old HD and the good USB drive and then enter a copy command to permit the transfer (many GB's). ... (3 Replies)
Discussion started by: craigt
3 Replies

6. Solaris

Sun Machine Crashed

During system startup the following warnings are appear. Warning: /pci@8, 700000/scsi@6, 1 (g1m1) Connected command timeout for target 9.0 Warning: /pci@8, 700000/scsi@6, 1 (g1m1) Target 9 reducing sync, transfer rate Warning: /pci@8, 700000/scsi@6, 1... (5 Replies)
Discussion started by: tabreaz
5 Replies

7. Solaris

Help: root partition crashed, fsck failed. Disk problem?

recently this sunfire 280R (solaris 10) is having problme, it was able to boot up, then all suddent, it failed, and I can't even mount the first disk which contains root partition when I boot up from cdrom. 2 X 36G hard drive, I scan first hard drive by "read", there is no bad block. The... (2 Replies)
Discussion started by: steeles
2 Replies

8. AIX

AIX Crashed..

My AIX 5.3 Machine Carshed Can any one tell some way to find out what went wrong.. I mean debug why it got creahed... (3 Replies)
Discussion started by: pbsrinivas
3 Replies

9. UNIX for Dummies Questions & Answers

old server crashed

Hello We had an old system designed in fortran that ran on a IBM RS6000 AIX 3.2 system. The person who designed is long gone. It was replaced with a completely different (non unix) system 6 years ago. We still used it for historical lookups of older information. Well yesterday it died. The... (5 Replies)
Discussion started by: billfaith
5 Replies

10. Post Here to Contact Site Administrators and Moderators

Gollum got crashed

Gollum got crashed, needs Administrator's attention. Check this: https://www.unix.com/showthread.php?p=302093676 (0 Replies)
Discussion started by: tayyabq8
0 Replies
Login or Register to Ask a Question