Operating System - HP-UX
1833019 Members
2130 Online
110049 Solutions
New Discussion

Re: How To I know which Harddisk is faulty

 
SOLVED
Go to solution
Henry Chua
Super Advisor

How To I know which Harddisk is faulty

Hi all,

My server recently have problem booting up, and I discovered the one of the harddisk maybe faulty, the problem is how to I know which harddisk is faulty, I mean I can run dd to find out which PV it is.. but how to I know which one it is?

And also, How to I remove this disk without damaging the system. This harddisk does not contain any vital lvs.. so how can I remove it?

thank you all for your inputs
7 REPLIES 7
Paul_481
Respected Contributor

Re: How To I know which Harddisk is faulty

Hello Henry,

first identify the PV name by "vgdisplay -v"

then run "ioscan -funC disk"

crosscheck the the results to determine which disk is faulty.

Hope that helps,

Paul
Patrick Wallek
Honored Contributor
Solution

Re: How To I know which Harddisk is faulty

If you can find the /dev/dsk/c?t?d? number, then you should be able to find the scsi path (something like 0/1/1.2.0) and from that you should be able to locate the physical disk.

As far as removing it -- That depends on what type of disk it is and what type of disk system it is in.
T G Manikandan
Honored Contributor

Re: How To I know which Harddisk is faulty

If you have problem booting up then check what messsages are on the console.
check the GSP logs.

check whether you could boot into single user mode.

Just do a search on the disks.
See like which all disks are recognized.
Steven E. Protter
Exalted Contributor

Re: How To I know which Harddisk is faulty

You can install EMS into your system if its not 11i and shipped with it.

EMS can be programmed through SAM to watch for certain faults and pop you an email if there is suspected trouble. I've gotten some false alarms from v3 but v4 is much better.

http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B7609BA

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sยภเl Kย๓คг
Respected Contributor

Re: How To I know which Harddisk is faulty

Henry

#ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 0 0/0/1/0.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 6x/32x
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 1 0/0/1/1.2.0 sdisk NO_HW DEVICE SEAGATE ST39102LCSUN9.0G
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST39205LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 3 0/1/1/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
disk 4 0/1/1/0.1.0 sdisk CLAIMED DEVICE SEAGATE ST318203LC
/dev/dsk/c4t1d0 /dev/rdsk/c4t1d0
disk 5 0/1/1/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST39103LC
/dev/dsk/c4t2d0 /dev/rdsk/c4t2d0


look at this
disk 1 0/0/1/1.2.0 sdisk NO_HW DEVICE SEAGATE ST39102LCSUN9.0G
/dev/dsk/c1t2d0

here it shows the software status as NO_HW.If u are able to restart the server u can confirm by giving a search command at PDC menu
regards
SK
Your imagination is the preview of your life's coming attractions
Dave Wherry
Esteemed Contributor

Re: How To I know which Harddisk is faulty

This may be too simplistic, and it may not always work. Look at the drives. The one with the solid or flashing amber LED is usually the problem drive.
Henry Chua
Super Advisor

Re: How To I know which Harddisk is faulty

I have run an "ioscan -fnCdisk" on my system the result is as attached. When I dd c0t5d0 to null an error result, thus I deduce that the disk is faulty. Now, is there any information under the ioscan's result that can be used to identify the disk location.

Thank you all for your help!