Recently i came across a disk that seems to be faulty and need help. I have gathered some information by running below commands and any help on how to solve this will be great.
# ./metadb
flags first blk block count
Wm p l 16 1034 /dev/dsk/c0t0d0s7
a p luo 16 1034 /dev/dsk/c2t0d0s7
a p luo 16 1034 /dev/dsk/c5t0d0s7
a p luo 16 1034 /dev/dsk/c4t0d0s7
a p luo 16 1034 /dev/dsk/c2t1d0s7
a p luo 16 1034 /dev/dsk/c3t1d0s7
a p luo 16 1034 /dev/dsk/c4t1d0s7
a p luo 16 1034 /dev/dsk/c5t1d0s7
After checking metastat output individually I am able to see the maintenance mode for all d1, d4, d7 and d23
Code:
d1: Submirror of d0
State: Needs maintenance
Invoke: metareplace d0 c0t0d0s0 <new device>
Size: 4198392 blocks
Stripe 0:
Device Start Block Dbase State Hot Spare
c0t0d0s0 0 No Maintenance
From below messages and format command which shows error with c0t0d0
Code:
# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t0d0 <drive type unknown>
/pci@1f,4000/scsi@3/sd@0,0
1. c0t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@1f,4000/scsi@3/sd@1,0
2. c0t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> arc disk
/pci@1f,4000/scsi@3/sd@2,0
3. c2t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> db01_1
/pci@4,2000/scsi@1/sd@0,0
4. c2t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> db01_3
/pci@4,2000/scsi@1/sd@1,0
5. c2t2d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
/pci@4,2000/scsi@1/sd@2,0
6. c2t3d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> OS mir
/pci@4,2000/scsi@1/sd@3,0
7. c3t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> db01_2
/pci@4,2000/scsi@1,1/sd@0,0
8. c3t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> back_3m
/pci@4,2000/scsi@1,1/sd@1,0
9. c3t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> back_2m
/pci@4,2000/scsi@1,1/sd@2,0
10. c4t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> back_1
/pci@6,2000/scsi@1/sd@0,0
11. c4t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> back_3
/pci@6,2000/scsi@1/sd@1,0
12. c4t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> db01_1m
/pci@6,2000/scsi@1/sd@2,0
13. c4t3d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> ora_mir
/pci@6,2000/scsi@1/sd@3,0
14. c5t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> back_2
/pci@6,2000/scsi@1,1/sd@0,0
15. c5t1d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> db01_3m
/pci@6,2000/scsi@1,1/sd@1,0
16. c5t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> db01_2m
/pci@6,2000/scsi@1,1/sd@2,0
17. c5t3d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> arch_mir
/pci@6,2000/scsi@1,1/sd@3,0
Specify disk (enter its number): 0
AVAILABLE DRIVE TYPES:
0. Auto configure
1. Quantum ProDrive 80S
2. Quantum ProDrive 105S
3. CDC Wren IV 94171-344
4. SUN0104
5. SUN0207
6. SUN0327
7. SUN0340
8. SUN0424
9. SUN0535
10. SUN0669
11. SUN1.0G
12. SUN1.05
13. SUN1.3G
14. SUN2.1G
15. SUN2.9G
16. SUN18G
17. SUN18G
18. SUN18G
19. SUN36G
20. other
Specify disk type (enter its number):
Code:
# iostat -En
c0t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 3
Vendor: FUJITSU Product: MAJ3182M SUN18G Revision: 0804 Serial No: 02P19623
Size: 18.11GB <18110967808 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
When check in messages i came across stuff that c0t0d0 is faulty.
Code:
# cat /var/adm/messages
Mar 27 08:43:00 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 27 08:43:00 XYZ disk not responding to selection
Mar 27 08:43:01 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 27 08:43:01 XYZ disk not responding to selection
Code:
# cat /var/adm/messages.0
Mar 20 21:10:25 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 20 21:10:25 XYZ SCSI transport failed: reason 'incomplete': retrying command
Mar 20 21:11:30 XYZ unix: /pci@1f,4000/scsi@3 (glm0):
Mar 20 21:11:30 XYZ Cmd (0x2aca648) dump for Target 0 Lun 0:
Mar 20 21:11:30 XYZ unix: /pci@1f,4000/scsi@3 (glm0):
Mar 20 21:11:30 XYZ cdb=[ 0x2a 0x0 0x2 0x1b 0x76 0x54 0x0 0x0 0x1 0x0 ]
Mar 20 21:11:30 XYZ unix: /pci@1f,4000/scsi@3 (glm0):
Mar 20 21:11:30 XYZ pkt_flags=0x4000 pkt_statistics=0x61 pkt_state=0x7
Mar 20 21:11:30 XYZ unix: /pci@1f,4000/scsi@3 (glm0):
Mar 20 21:11:30 XYZ pkt_scbp=0x0 cmd_flags=0x18e1
Mar 20 21:11:30 XYZ unix: WARNING: /pci@1f,4000/scsi@3 (glm0):
Mar 20 21:11:30 XYZ Disconnected tagged cmd(s) (1) timeout for Target 0.0
Mar 20 21:11:30 XYZ unix: WARNING: ID[SUNWpd.glm.cmd_timeout.6018]
Mar 20 21:11:30 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 20 21:11:30 XYZ SCSI transport failed: reason 'reset': retrying command
Mar 20 21:11:30 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 20 21:11:30 XYZ SCSI transport failed: reason 'timeout': retrying command
Mar 20 21:11:34 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 20 21:11:34 XYZ SCSI transport failed: reason 'incomplete': retrying command
Mar 20 21:11:38 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 20 21:11:38 XYZ disk not responding to selection
Mar 20 21:11:40 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 20 21:11:40 XYZ disk not responding to selection
Mar 20 21:11:40 XYZ unix: WARNING: md: d1: write error on /dev/dsk/c0t0d0s0
Mar 20 21:11:40 XYZ unix: WARNING: md: d1: /dev/dsk/c0t0d0s0 needs maintenance
Mar 20 21:11:40 XYZ unix: WARNING: md: d4: read error on /dev/dsk/c0t0d0s1
Mar 20 21:11:42 XYZ unix: WARNING: md: d7: write error on /dev/dsk/c0t0d0s3
Mar 20 21:11:42 XYZ unix: WARNING: md: d4: /dev/dsk/c0t0d0s1 needs maintenance
Mar 20 21:11:42 XYZ unix: WARNING: md: d7: /dev/dsk/c0t0d0s3 needs maintenance
Mar 21 01:36:42 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 21 01:36:42 XYZ disk not responding to selection
Mar 21 01:36:42 XYZ unix: WARNING: md: d23: read error on /dev/dsk/c0t0d0s4
Mar 21 01:36:42 XYZ unix: WARNING: md: d23: /dev/dsk/c0t0d0s4 needs maintenance
Mar 21 08:00:02 XYZ unix: WARNING: /pci@1f,4000/scsi@3/sd@0,0 (sd0):
Mar 21 08:00:02 XYZ disk not responding to selection
Code:
# ./prtdiag
System Configuration: Sun Microsystems sun4u Sun Enterprise 450 (2 X UltraSPARC-II 400MHz)
System clock frequency: 100 MHz
Memory size: 1024 Megabytes
========================= CPUs =========================
Run Ecache CPU CPU
Brd CPU Module MHz MB Impl. Mask
--- --- ------- ----- ------ ------ ----
SYS 1 1 400 4.0 US-II 10.0
SYS 3 3 400 4.0 US-II 10.0
========================= Memory =========================
Interlv. Socket Size
Bank Group Name (MB) Status
---- ----- ------ ---- ------
0 none 1901 256 OK
0 none 1902 256 OK
0 none 1903 256 OK
0 none 1904 256 OK
========================= IO Cards =========================
Bus Freq
Brd Type MHz Slot Name Model
--- ---- ---- ---- -------------------------------- ----------------------
SYS PCI 33 4 pciclass,001000 Symbios,53C875
SYS PCI 33 6 pciclass,001000 Symbios,53C875
No failures found in System
When I tried see the label for faulty sub mirror it gives as unable to read disk geometry but I was able to read other half of sub mirror as below.
Usually i use to do this to solve it but not done for master anytime.
1. copy the labels of d2,d5, d8 and d22 and detach the faulty onces from mirror.
2. remove the old meta device and un configure the disk using cfgadm
3. now replace the disk and write the copied label to new disk and recreate the metadevices and attach them to the mirror.
But since its a c0t0d0 primary disk which contains partitions like root,boot etc i am not sure if i can do hot swapping as this is a production server cant really play much on it.
Last edited by DukeNuke2; 03-27-2012 at 11:06 AM..
i have unix box , which currently has 2 scsi disk , as shown by format command, one at target 1 and another at target3 (which is current boot disk).
can i use both the disk , if so will df -k show usage of both ?
can any one guide me how to span file system across multiple disk. i m using sun 5.7... (4 Replies)
Dear Sun gurus,
I have Sun Fire V240 server with its StorEdge 3300 disk-array. Following are its disks appeared in format command. I have prepared its partitions thru format and metainit & metattach (may be i have made wrong steps, causing the errors below because I have done thru some document... (1 Reply)
Hi Experts,
I have configured A D40 Array. There is an faulty disk which is not part of an raid volume but shows fault in the diagnostics.
pdisk15 U0.1-P1-I1/Q1-W40AA83CC2400D
SSA160 Physical Disk Drive ( MB)
Is there a way to stop this... (2 Replies)
we have a SUN M3000 server.
setup as only 1 domain.
disk c0t0d0 and c0t1d0 and setup as SVM mirrors.
a few days ago disk T1 failed.
new we have replaced the disk, but can's see the disk in format.
have done cfgadm and devfsadm.
still can't access the new disk in format.
the output... (6 Replies)
Requirement to remove a faulty mirrored disk from hp-ux LVM
<root@pdwp1s>/etc # vgdisplay -v /dev/vg00
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't... (9 Replies)
Hi,
Have mirrored the primary disk to 3 .
Server and OS:
# uname -a
HP-UX pdwp1s B.11.11 U 9000/800 118434630 unlimited-user license
# model
9000/800/L3000-7x
# strings /etc/lvmtab
/dev/vg00
+F@<
/dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/dsk/c2t0d0
But now I have only 1 disk... (5 Replies)
Hello,
I'm new to this forum and as you will see from my question I'm new to UNIX as well.
One of our costumers has HP rx4640 running on UNIX with two 300GB hot-swappable disks that are mirrored. They reported to us that one of the disks is faulty and they want us to take care of it. Below is... (16 Replies)
Hi Guys,
One of two disks in my solaris machine has failed, the name is disk0, this is SUN physical sparc machine
But I work remotely, so people working near that physical server are not that technical, so from OS command prompt can run some command to bink faulty disk at front panel of Server.... (9 Replies)
I plugged both power cables in both power supply. When I unplugged each power cable one by one, the SPARC T4-1 machine keep running. However, show faulty command shows below message. (I have also attached the picture of both power supply)
-> show faulty
Target ... (1 Reply)