1836455 Members
2628 Online
110101 Solutions
New Discussion

harddrive gone bad

 
Jeff Hagstrom
Regular Advisor

harddrive gone bad

I have an HPk460/9000 running HPUX-11.i. I believe a harddrive went bad. Are there any logs that would give info leading up to its death? Are there any commands to probe that drive? Or could it be a file system problem that might not have loaded? I do know that I can chgdir to /a6, but there is nothing there. Where could it have gone?
4 REPLIES 4
Deoncia Grayson_1
Honored Contributor

Re: harddrive gone bad

first place to find out any hardware logging errors is

/var/adm/syslog/syslog.log

also you may want to do ioscan -funC disk to check for any NO_HARDWARE errors and if that was the disk with that filesystem located and no mirror copies, then i hope you have a backup.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
Bill Hassell
Honored Contributor

Re: harddrive gone bad

Start with /var/adm/syslog/syslog.log to see if there are any unusual error messages. Also verify that /a6 cannot be mounted:

mount /a6

If it mounts OK, then it was not mounted the last time you rebooted or someone with the root password unmounted it (that makes the mounpoint look empty).

If you get an error message (I/O error, errno 5 or similar) then the disk has gone bad. You can probe the drive with dd but if you see an error with mount, the disk has a problem. Your sysadmin should be able to identify the physical disk(s) that are part of the mount point volume.


Bill Hassell, sysadmin
Fabian Briseño
Esteemed Contributor

Re: harddrive gone bad

Hi.
You should check
/var/adm/syslog/syslog.log

also do a
ioscan -fnC disk |more

if you see
in the column that says HW/STATE a NO_HW message that means the drive has gone bad
Knowledge is power.
Mridul Shrivastava
Honored Contributor

Re: harddrive gone bad

In addition to syslog.log , you can check the /var/opt/resmon/log/event.log and search for the hardware path at which this disk is connected. There should be some events triggered on this disk and will give the details explanation and probable cause and what needs to be dine futher.....
Time has a wonderful way of weeding out the trivial