- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disk errors
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:21 AM
07-09-2003 06:21 AM
I would like to know how I can detect disk errors? Which logfiles should I check? What kind of messages?
Of course when a disk is unavailable (ioscan) it has failed. But how to detect a disk which stills seems to work but already produces errors.
Are the errors of an internal disks logged to a different location than the errors of a disk in a autoraid?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:25 AM
07-09-2003 06:25 AM
Re: disk errors
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:26 AM
07-09-2003 06:26 AM
Re: disk errors
I'd start with /var/adm/syslog. Most all of your disk errors will get logged there. You can also look at dmesg, but that is a ring buffer and not a file. Also your EMS notification will do pretty good too.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:26 AM
07-09-2003 06:26 AM
Re: disk errors
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:27 AM
07-09-2003 06:27 AM
Re: disk errors
Most of the errors should get logged into your dmesg and /var/adm/syslog/syslog.log. However, you will get more information if you use EMS that comes with Online Diagnostics. Look at the following document on configuring EMS.
http://docs.hp.com/hpux/onlinedocs/B7609-90022/B7609-90022.html
You can even get it configured to email the errors on various subsystems including disks.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:28 AM
07-09-2003 06:28 AM
Re: disk errors
1.You can check with xstm using verify utility;
2. Run the following command, any errors indicate a disk problem:
dd if=/dev/rdsk/device of=/dev/null bs=32K
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:28 AM
07-09-2003 06:28 AM
Re: disk errors
If looking to syslog.log usual 'bad' events are:
- power fails
- SCSI resets
- SCSI hangs
- SCSI timeouts
for disk arrays use special management software to take logs out of disk array
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:29 AM
07-09-2003 06:29 AM
Re: disk errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:32 AM
07-09-2003 06:32 AM
Re: disk errors
"If the - argument is
specified, dmesg computes (incrementally) the new messages since the
last time it was run and places these on the standard output. This is
typically used with cron (see cron(1)) to produce the error log
/var/adm/messages by running the command:
/usr/sbin/dmesg - >> /var/adm/messages
every 10 minutes."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:32 AM
07-09-2003 06:32 AM
Re: disk errors
First and foremost, keep an eye on /var/adm/syslog/syslog.log
Outside of that I would suggest using stm.
If you have a particular disk that you think is whigging out, I would suggest doing an lvdisplay -v on that lvol and looking for stale extents. If you have a small environment, this might be a good practice to do occassionally on all of your lvols.
As for the autoraid units, I don't have a lot of experience with them. They should show up in syslog.log also, just like any other disk. I do beleive however, that some autoraid units do come with special tools for monitoring the array for problems. Like I said, though I don't have a lot of experience with that.
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:34 AM
07-09-2003 06:34 AM
Re: disk errors
Lots of responses. You will get points for it of course!! Are disk errors in a AUTORAID also logged in the syslog? Someone mentioned using a tool for checking my autoraid. What kind of tool?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:36 AM
07-09-2003 06:36 AM
Re: disk errors
Once you find any problem, you use "dd" to check the problem disk, as follows:
# dd if=/dev/rdsk/c?t?d0 of=/dev/null bs=1024K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:46 AM
07-09-2003 06:46 AM
Re: disk errors
I mentioned some special tools, but I am not sure on that. I know we had a problem sometime ago with an archive server that had an autoraid unit. I remember something about some autoraid software that was installed on the box, but I could not tell you what it did. I just had the disk swapped out and continued on my way. Since then I have moved that server over to our EMC frame. I vaguely remember the HP Response Center engineer having me perform some tasks with what I remember to be some sort of autoraid software. I will check back on that server and see if I can elaborate on what I am referring too. I know the autoraid unit was pretty old. I will see what I can dig up.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 06:54 AM
07-09-2003 06:54 AM
Re: disk errors
As I mentioned before, EMS should log quite a variety of errors. There are specific configuration files for arrays like FC60 etc., One good example that the system cannot catch but EMS does is "battery failures" on the FC60.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 07:18 AM
07-09-2003 07:18 AM
SolutionI powered up that server and checked it out. Apparently what I was thinking of was the Disk Array Manager and the Disk Array Monitor daemon, which are processes that start up at boot time. I looked and under /opt/hparray/bin, I beleive these were some of the commands that the HP engineer had me run. I think to re-configure the array. I don't think we used these commands to diagnose the situation, just to re-config the array after the disk was replaced. I feel certain that EMS popped a message in syslog and then we used the /opt/hparray/bin commands to get things straight in the array after the disk was replaced.
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2003 07:20 AM
07-09-2003 07:20 AM
Re: disk errors
Please no points for this or my last message. I was just following up.
-Bryan