Visit Our UNIX and Linux User Community


Step by step to replace Failed disk


 
Thread Tools Search this Thread
Operating Systems Solaris Step by step to replace Failed disk
# 1  
Old 02-23-2010
Step by step to replace Failed disk

Hi all.
This may be a stupid question but here goes:

I lost a disk on my Sun-Fire 480-r and want to replace it. I don't care about the data, I just need to get a new disk in.

Can anyone supply me with step by step procedure please. I am not an expert by any means and it is a dev box so I figured I would try before calling in SUN.

system info:

Code:
# uname -a
SunOS rcworarpt 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Fire-480R

We are using mirroring.
metastat output is as follows:


Code:
# metastat
d4: Mirror
    Submirror 0: d14
      State: Needs maintenance
    Submirror 1: d24
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 286169472 blocks (136 GB)
d14: Submirror of d4
    State: Needs maintenance
    Invoke: metareplace d4 c2t11d0s6 <new device>
    Size: 286169472 blocks (136 GB)
    Stripe 0:
        Device      Start Block  Dbase        State Reloc Hot Spare
        c2t11d0s6          0     No     Maintenance   Yes
 
d24: Submirror of d4
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d4 c3t11d0s6 <new device>
    Size: 286169472 blocks (136 GB)
    Stripe 0:
        Device      Start Block  Dbase        State Reloc Hot Spare
        c3t11d0s6          0     No      Last Erred   Yes
 
d3: Mirror
    Submirror 0: d13
      State: Needs maintenance
    Submirror 1: d23
      State: Needs maintenance
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 430017408 blocks (205 GB)
d13: Submirror of d3
    State: Needs maintenance
    Invoke: metareplace d3 c2t8d0s0 <new device>
    Size: 430017408 blocks (205 GB)
    Stripe 0: (interlace: 32 blocks)
        Device      Start Block  Dbase        State Reloc Hot Spare
        c2t8d0s0           0     No     Maintenance   Yes
        c2t9d0s0       10176     No     Maintenance   Yes
        c2t10d0s0      10176     No     Maintenance   Yes
 
d23: Submirror of d3
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d3 c3t8d0s0 <new device>
    Size: 430017408 blocks (205 GB)
    Stripe 0: (interlace: 32 blocks)
        Device      Start Block  Dbase        State Reloc Hot Spare
        c3t8d0s0           0     No      Last Erred   Yes
        c3t13d0s0      10176     No      Last Erred   Yes
        c3t10d0s0      10176     No      Last Erred   Yes
 
Device Relocation Information:
Device    Reloc Device ID
c3t11d0   Yes   id1,sd@SFUJITSU_MAW3147NCSUN146G000704C0ANVR____DAC0P710ANVR
c2t11d0   Yes   id1,sd@SFUJITSU_MAW3147NCSUN146G000703C0ALDG____DAC0P710ALDG
c3t8d0    Yes   id1,sd@SSEAGATE_ST373307LSUN72G_3HZ68F2S00007416TZS2
c3t13d0   Yes   id1,sd@SFUJITSU_MAW3073NCSUN72G_000806B0PRAS____DAN0P820PRAS
c3t10d0   Yes   id1,sd@SSEAGATE_ST373307LSUN72G_3HZ10FP200007337K0ES
c2t8d0    Yes   id1,sd@SSEAGATE_ST373307LSUN72G_3HZ1279H000073384J6U
c2t9d0    Yes   id1,sd@SSEAGATE_ST373307LSUN72G_3HZ101B100007337JKGR
c2t10d0   Yes   id1,sd@SSEAGATE_ST373307LSUN72G_3HZ10FEG000073386DB6


Here is what was reported from /var/adm/messages at the time we lost the disk:

Code:
Jan 23 14:19:52 rcworarpt scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/pci@1/scsi@5/sd@a,0 (sd25):
Jan 23 14:19:52 rcworarpt       SCSI transport failed: reason 'incomplete': retrying command
Jan 23 14:19:53 rcworarpt scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/pci@1/scsi@5/sd@a,0 (sd25):
Jan 23 14:19:53 rcworarpt       disk not responding to selection
Jan 23 14:19:53 rcworarpt md_stripe: [ID 641072 kern.warning] WARNING: md: d23: write error on /dev/dsk/c3t10d0s0
Jan 23 14:19:55 rcworarpt scsi: [ID 107833 kern.warning] WARNING: /pci@8,600000/pci@1/scsi@5/sd@a,0 (sd25):
Jan 23 14:19:55 rcworarpt       disk not responding to selection


Thanks in advance for all replies.
# 2  
Old 02-23-2010
Double post, continued here. Thread closed.

Previous Thread | Next Thread
Test Your Knowledge in Computers #299
Difficulty: Easy
Novell bought the SUSE (then SuSE) brands and trademarks in 2003.
True or False?

7 More Discussions You Might Find Interesting

1. What is on Your Mind?

Slowly Removing Bold Font Style - Step-by-Step

FYI, I'm slowly removing a lot of the bold font-styles from titles of discussions, forum titles, etc I'm not removing bold for the entire site because we do need bold from time to time, especially in posts and sometimes in other places. However, the original forum style had way too much... (3 Replies)
Discussion started by: Neo
3 Replies

2. Solaris

step step apache2 configuration doc

Hi Guys, does anyone know of a step by step guide on how configure apache2 web server in solaris 10? I will really appreciate it. Thanks a lot (1 Reply)
Discussion started by: cjashu
1 Replies

3. Linux

May you explain step by step where and how I will add pseudo code

Thank all of you. May you explain step by step where and how I will add pseudo code Note : I have Linux 2.6.24-26-server on x86_64 dears kindly help me (3 Replies)
Discussion started by: nonowa
3 Replies

4. UNIX for Dummies Questions & Answers

looking for step by step emacs c++ debug tutorial

Hello all i was searching the net for simple but effective tutorial to show me how debug c++ in emacs with not much luck. im not new to unix but new to emacs , i looking for tutorial that shows how to debug ( if possible ) c++ programs . LIike IDE suppose to , break points step in/out variable... (0 Replies)
Discussion started by: umen
0 Replies

5. Shell Programming and Scripting

works step by step on command line but not in script

Hi all, The following script is fine when I work via command line m=1 c=0 while do echo $m gnokii --getsms IN $m > out.txt; m=`expr $m + 1`; cat out.txt >> message_log; ############ read first crap< <(sed -n '/Text:/{n;p;}' out.txt); read message< <(sed -n '/Text:/{n;p;}'... (2 Replies)
Discussion started by: whamchaxed
2 Replies

6. UNIX for Dummies Questions & Answers

Step by step Installation of Unix SCO 2.1

I am new to unix and server at my job crashed due to hardware problem. I'm now opted to install sco unix on a new server - could anybody help me with the steps I need to take (pretty old machine) Thanks & Regards Nancy :( (0 Replies)
Discussion started by: nensee7
0 Replies

7. UNIX for Dummies Questions & Answers

install of sco unix step by step

HI I am new to unix and need to install sco unix on a new server - could anybody help me with the steps I need to take - the hd is a 9gb scsi drive (pretty old machine) Thanks (1 Reply)
Discussion started by: porikamu
1 Replies

Featured Tech Videos