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.
After checking metastat output individually I am able to see the maintenance mode for all d1, d4, d7 and d23
From below messages and format command which shows error with c0t0d0
When check in messages i came across stuff that c0t0d0 is faulty.
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..
So, what's your question? It appears that every slice of the failed disk (c0t0d0) is mirrored, so you can follow your normal detach-replace-attach process to fix this.. but your configuration does require some care, as c0t0d0 is not mirrored by a single disk. You will likely have to hand construct the partition table to match the sizes of the slices on the other 2 disks involved in the various mirrors (c2t3d0 and c0t2d0).
also, since you are replacing a disk which is part of your boot mirror, you will need to ensure that you put the bootblocks onto the replacement.. see the manpage for 'installboot' for details, but I suspect the command will be something like:
..and, just in case some prior administrator didn't put the bootblocks on c2t3s0, you might want to proactively apply them there FIRST, before you eject c0t0d0 from the chassis.
Those old 18G and 36G scsi drives are becoming harder to find reliable replacements for... good luck finding some!
Thanks for your suggestions. this is what i did until now as below
to check the configuration
Any ideas which command should be used instead of cfgadm as some people suggested devfsadm which i havent used anytime. so then did below
After that i can see the c0t0d0 in format utility, which shows as the OS disk
then i ran metareplace command with defective mirrors, as metastat output says "Invoke: metareplace d0 c0t0d0s0 <new device>"
From metastat output I can see that all the mirrors seems to be fine and are in sync with other sub mirrors and i can run prtvtoc as well...but the problem is if run metadb again it shows the "W" still exists as below. Some suggest to reboot which I don’t want to do now.
For this I have removed and re attached the database like below
Now when I check metadb output the errors are gone but some flags are missing (m – master, and p,l,o will only appear when rebooted as said in some forums) and came to know those will reappear once reboot is done which don’t want to do now.
Any suggestion on this and how it is done ?
Thanks in advance
Last edited by DukeNuke2; 03-30-2012 at 08:44 AM..
Since your system is running Solaris7, the 'cfgadm' command did not exist back then, and I'm not even certain (without checking) whether 'devfsadm' was even around back then. You'll probably want the do the following on replacement of scsi disks:
as far as the flags output from 'metadb -i', you're just going to have to wait for a reboot to see the p,l,o and possibly m flags on that disk.
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)
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)
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,
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)
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)
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)
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)
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)
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)