HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- monitor the i/o of a disk
Operating System - HP-UX
1826772
Members
2415
Online
109702
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
08-04-2004 09:49 AM
08-04-2004 09:49 AM
I recently had a failure in a SCSI controller that I feel may be software related. Or as I was told, the I/o requested bombarded the controller and it servered the connection. This is the error in syslog...
Jul 30 15:56:00 server vmunix: SCSI: Ultra160 Controller at 0/10/0/0: Error: The domain validation test for target 1 determined that communication may not be possible to this target. Verify the hardware configuration.
Now I got no alarms from the hardware monitoring, nor was there any lights on the server.
It was suggested that I increase the I/O requests on the drive from the default 30 msec to 180 msec.
What I want to do is run some tests. Is the a way to monitor the I/O requests. If it does fail again I want to be able to go back and check if the I/O was high at that point.
Just to mention that I did not have a ts99 file that showed any errors. It was created after the reboot, and the ts98 file had all zeros.
pvdisplay displayed no errors, all claimed. no stale extents.
So basically there is no record of any errors except what was in dmesg and syslog.
cstm did record that there were over 600 i/o error entries, but the funny thing is that line where it states last entry is dated last month so 1 month before our failure.
Jul 30 15:56:00 server vmunix: SCSI: Ultra160 Controller at 0/10/0/0: Error: The domain validation test for target 1 determined that communication may not be possible to this target. Verify the hardware configuration.
Now I got no alarms from the hardware monitoring, nor was there any lights on the server.
It was suggested that I increase the I/O requests on the drive from the default 30 msec to 180 msec.
What I want to do is run some tests. Is the a way to monitor the I/O requests. If it does fail again I want to be able to go back and check if the I/O was high at that point.
Just to mention that I did not have a ts99 file that showed any errors. It was created after the reboot, and the ts98 file had all zeros.
pvdisplay displayed no errors, all claimed. no stale extents.
So basically there is no record of any errors except what was in dmesg and syslog.
cstm did record that there were over 600 i/o error entries, but the funny thing is that line where it states last entry is dated last month so 1 month before our failure.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 10:44 AM
08-04-2004 10:44 AM
Solution
If you get too granular, you can kind of kill yourself with this, but an interval of 300 (seconds) is generally about as frequent as you'd want to monitor most of the time (a snapshot every five minutes). Too often, and you start to affect what you're trying to measure, never a good idea.
sar -A
DD is the 2 digits of the day of the month, 01-31.
See the 'sar' man page for details, and for other more specific sar switches that you might care to employ.
If you have frequent problems, you might want to go ahead and make the monitor interval shorter, like maybe 60 (seconds), if you're trying to capture events right before an error occurs, but you won't want to run this way too long, and be cognizant that some of the CPU stats may be skewed by your 'sar' processing.
Regards, --bmr
sar -A
DD is the 2 digits of the day of the month, 01-31.
See the 'sar' man page for details, and for other more specific sar switches that you might care to employ.
If you have frequent problems, you might want to go ahead and make the monitor interval shorter, like maybe 60 (seconds), if you're trying to capture events right before an error occurs, but you won't want to run this way too long, and be cognizant that some of the CPU stats may be skewed by your 'sar' processing.
Regards, --bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 12:30 PM
08-04-2004 12:30 PM
Re: monitor the i/o of a disk
Hi
You can check historical disk i/o using sar.
# sar -d
(shows i/o data for today.)
# sar -d -f sa29
(shows historical data for 29th of month - in this case july 29.)
To collect hitorical sar data you need an entry in crontab as follows:
0,15,30,45 * * * * /usr/lbin/sa/sa1
This will collect sar data every 15mins. You also need to create the /var/adm/sa directory.
Cheers
Con
You can check historical disk i/o using sar.
# sar -d
(shows i/o data for today.)
# sar -d -f sa29
(shows historical data for 29th of month - in this case july 29.)
To collect hitorical sar data you need an entry in crontab as follows:
0,15,30,45 * * * * /usr/lbin/sa/sa1
This will collect sar data every 15mins. You also need to create the /var/adm/sa directory.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 01:55 PM
08-04-2004 01:55 PM
Re: monitor the i/o of a disk
Attached is a full suite of scripts to collect data over time. Low overhead, tested with years of data collection.
SEP
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
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP