Sponsored Content
Operating Systems Solaris Help with faulty Disk on Sun OS Post 302615783 by phanidhar6039 on Friday 30th of March 2012 05:25:40 AM
Old 03-30-2012
Did this so far

Hi,

Thanks for your suggestions. this is what i did until now as below

to check the configuration

Code:
# cfgadm -al
cfgadm: Configuration administration not supported

Any ideas which command should be used instead of cfgadm as some people suggested devfsadm which i havent used anytime. so then did below

Code:
#  drvconfig


After that i can see the c0t0d0 in format utility, which shows as the OS disk

Code:
  # format 
  c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>  OS disk
            /pci@1f,4000/scsi@3/sd@0,0


then i ran metareplace command with defective mirrors, as metastat output says "Invoke: metareplace d0 c0t0d0s0 <new device>"

Code:
  # metareplace –e d21 c0t0d0s4
  # metareplace –e d6 c0t0d0s3
  # metareplace –e d3 c0t0d0s1
  # metareplace –e d0 c0t0d0s0


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.

Code:
  # 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

For this I have removed and re attached the database like below

Code:
  # metadb –d /dev/dsk/c0t0d0s7
  # metadb –a /dev/dsk/c0t0d0s7


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.

Code:
  # metadb -i
          flags           first blk       block count
       a        u         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


Any suggestion on this and how it is done ?

Thanks in advance

Last edited by DukeNuke2; 03-30-2012 at 08:44 AM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

multiple disk in sun os

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)
Discussion started by: raju
4 Replies

2. UNIX for Advanced & Expert Users

Help: Sun Disk partitioning for Sun V240 & StorEdge 3300

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)
Discussion started by: shafeeq
1 Replies

3. AIX

Removing Faulty Disk SSA

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)
Discussion started by: vuppala360
2 Replies

4. Emergency UNIX and Linux Support

disk replacment, SUN M3000

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)
Discussion started by: robsonde
6 Replies

5. HP-UX

Remove Faulty disk from HP-UX LVM VG

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)
Discussion started by: Shirishlnx
9 Replies

6. HP-UX

Remove faulty disk LV from VG

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)
Discussion started by: Shirishlnx
5 Replies

7. HP-UX

FAULTY DISK replacement HP rx4640

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)
Discussion started by: gjk
16 Replies

8. Solaris

[solved] How to blink faulty disk in Solaris hardware?

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)
Discussion started by: manalisharmabe
9 Replies

9. UNIX for Beginners Questions & Answers

Show faulty shows PS1 faulty

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)
Discussion started by: z_haseeb
1 Replies
All times are GMT -4. The time now is 05:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy