SUMMARY: disk not responding to selection

From: Sundaram Ramasamy <>
Date: Tue Sep 21 2004 - 19:18:05 EDT
Hi all,

My Thanks to every respond for this problem. Hard disk failed we replaced
the hard disk.


Looking first at the DiskSuite messages ("State: Needs maintenance") this
typically means that there is something wrong with the DiskSuite LUN, or a
component of that LUN.  Most often, it is that one or more physical disks
have failed.

Looking then at the /var/adm/messages output you have supplied, this is
confirmed - the disk drive (/dev/dsk/c0t0d0s<anything>) has failed, and
needs to be replaced.

Once you have physically replaced the disk with a new one of the same
type, you can use the following command to format the drive the same as
its mirror drive:

  # prtvtoc /dev/rdsk/c0t1d0s0 | fmthard -s - /dev/rdsk/c0t0d0s0

(this just sets up the partition table on the new disk, which
I am assuming will directly replace the old, failed c0t0d0
in the same slot, with the same partitioning as its mirror pair disk).

Once that is done (and you can double-check it in "format"), you should be
able to issue the series of "metareplace" commands needed to restore the
mirroring state of this set of LUNs, like so:

  metareplace -e d10 c0t0d0s0
  metareplace -e d20 c0t0d0s1
  metareplace -e d30 c0t0d0s3
  metareplace -e d40 c0t0d0s4

(the '-e' option just tells DiskSuite to replace the disk "in place" -- or
just replace a bad disk with a good one in the exact same location).

 There is problem in one of the disk and it has gone
faulty. Check the disk name/position by format command
for this disk /pci@1f,4000/scsi@3/sd@0,0.
You have to replace the disk and then you have to
repair the metadisks.

-Sundaram Ramasamy
Storage & Sun Solaris Administrator
sunmanagers mailing list
Received on Tue Sep 21 19:18:01 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:37 EST