Need to know whch disk to pull out.


 
Thread Tools Search this Thread
Operating Systems Solaris Need to know whch disk to pull out.
# 1  
Old 02-23-2010
Need to know whch disk to pull out.

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 which I have.

The problem I have is that there are two disks and both have the green lights on them... and I'm not sure which one to pull out. They are in HDD0 and HDD1.

Is there any way I can find out which one I would have to replace aside from pulling one out, rebooting and seeing?

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
It seems, your faulted disk is an external Ultra320 SCSI disk (c3t10d0s0, Seagate ST 373307) in an external storage system - please check there. The SunFire V480 uses FC disks as their internal disks and there are the target IDs are 0 and 1 and not >= 8.
# 3  
Old 02-23-2010
Thanks for your reply, I found the disk...
Is it safe to assume its the one in the third row labeled 10 with the light blinking beside it?

Given that we are using mirroring I need to know the steps in replacing it.

Can I just detach the mirror, replace the disk and reattach it?

Thanks
# 4  
Old 02-24-2010
Replace both the failed disks, one at a time.
cfgadm -c unconfigure <device>
pull out OLD
devfsadm -C -> verify format
plug in NEW
devfsadm -C -> verify format (by right should be auto configured)
use metareplace

If you use metadetach at the beginning, you should use metattach
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Pull Netgroup from Servers

Hi, How to pull netgroup from all servers I think the netgroup resides in /etc/security/access.conf so I want to know how to get the list of netgroup in all the servers. I have a jump server I can run the script from there to get the list but not sure how to do the script. Any ideas or... (1 Reply)
Discussion started by: dbashyam
1 Replies

2. Shell Programming and Scripting

Command to pull date

I have one file with below entry. There are multiple entries, but for sample I used just three lines. my requirment is to create a script by which it will pull only those entries which modification time is greater than 2 weeks (or 15 days). if I run script today, it will compare date from today... (4 Replies)
Discussion started by: anshu ranjan
4 Replies

3. UNIX for Dummies Questions & Answers

How do I pull the value between curly braces?

Hi everyone, I've got a file that looks like this: uid{508}pid{22224}pname{/PPROGRAM/pprgramx -profile:LIVE -serv:as ... I want to pull the value of pid between the curly braces, or 22224 in this example. pid is always the second pair of curly braces, but the length of the number is... (7 Replies)
Discussion started by: Scottie1954
7 Replies

4. Shell Programming and Scripting

Pull log between two dates.

Hi, I am trying to pull out lines from logs between two dates, the logs has lines like this : conn=552 op=3 msgId=17228 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=amldapuser,ou=dsame u sers,dc=abc,dc=com" conn=553 op=-1 msgId=-1 - fd=34 slot=34 LDAP connection from 52.99.164.14 to... (4 Replies)
Discussion started by: john_prince
4 Replies

5. Solaris

T6340/SDS root disk pull test.

Here's the scenario.. Server built with solaris 10 + SDS to mirror OS disk to 2nd disk. If you pull the root disk while the system is running, would you expect : 1, The box to just stay running, ie off its mirror 2, The box would crash, reboot, try and boot of its primary, if not, the... (4 Replies)
Discussion started by: itsupplies
4 Replies

6. Shell Programming and Scripting

How do I pull a substring out of a file?

I'm new to shell scripting and am trying to write a small script that pulls a substring out of a file that has a few lines of text in it. The file will eventually have a lot of text, I just put a few lines in it for testing purposes. Anyway, this is what I have so far... #!/bin/ksh ... (4 Replies)
Discussion started by: enator45
4 Replies

7. Shell Programming and Scripting

cant get perl to pull information right

Hello, I cant get the perl script to pull the information from Sark DNS 4.X Options ACL Templates= and other= Can someone look at the script to see why and fix it please. FYI..Under Sark DNS 4.x ACL Templates= and other= has an indent/tab, not sure if thats the reason my the script... (24 Replies)
Discussion started by: richsark
24 Replies

8. UNIX for Dummies Questions & Answers

pull xml's from logs

Hi Frnds I Want to pull xml's from logs based on the below condition.In each log having so many xml's it's taking so much of time to search all logs manually...can u please provide solution USER:ECMINT CONV:GETARPLNICHUBTST <CardNbr>376703134104004</CardNbr> </Envelope> Response XML:... (3 Replies)
Discussion started by: pb18798
3 Replies

9. Shell Programming and Scripting

how to pull files from one machine to another

Hello I have 2 Linux machines with a zip file residing on one of them I am using putty to connect to my Linux files Is there a way to copy the zip file from one Linux machine to the second Using the putty textual interface? If I had a visual interface, maybe I could have opened a browser,... (5 Replies)
Discussion started by: jasongr
5 Replies
Login or Register to Ask a Question