Bug 144649
Summary: | /proc/stat does not provide the disk_io details for RAID Disk or external disk array | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Yogesh <myogesh> |
Component: | kernel | Assignee: | Tom Coughlan <coughlan> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | nhorman, petrides, tao |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-25 18:38:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yogesh
2005-01-10 10:11:52 UTC
Hi Gary, Thanks for the reply. We tried with new sysstat package sysstat-5.0.5-2.i386.rpm but this still does not resolve the issue of /proc/stat where the disk_io values for the disk array is not displayed . We tried this on our client place and also on our lab and this was not succesfull. Let me explain how this can be easily be reproduced. 1. On any X86 box running the below version of RH on IDE hardisk. [root@root]# cat /etc/redhat-release Red Hat Enterprise Linux WS release 3 (Taroon Update 1) [root@root]# uname -a Linux abhilash 2.4.21-9.EL #1 Thu Jan 8 17:24:12 EST 2004 i686 i686 i386 GNU/Linux 2. Please boot the IDE harddisk as secondary master instead of primary master . Under this environment please check the disk_io value in /proc/stat [root@root]# cat /proc/stat cpu 741 0 982 1637620 1171 1814 388 cpu0 741 0 982 1637620 1171 1814 388 page 35434 17072 swap 1 0 intr 3364141 1642716 28 0 0 3 0 6 0 1 0 0 1715412 144 0 0 5831 disk_io: ctxt 1971493 btime 1106034798 processes 3503 procs_running 1 procs_blocked 0 The disk_io does not return any value however the same work fine if the IDE disk is booted as the primary master . I have pasted the below details to help you . root@tmp]# rpm -q sysstat sysstat-5.0.5-5.rhel3 [root@ tmp]# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/hdc2 9384708 2730508 6177472 31% / /dev/hdc1 101089 9200 86670 10% /boot none 126612 0 126612 0% /dev/shm [root@tmp]# iostat Linux 2.4.21-9.EL 01/18/2005 avg-cpu: %user %nice %sys %iowait %idle 0.05 0.00 0.19 0.08 99.68 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn hdc 0.38 4.57 2.37 76254 39474 hdc1 0.00 0.01 0.00 180 18 hdc2 0.37 4.53 2.37 75482 39456 hdc3 0.00 0.01 0.00 168 0 This issue is very critical since our application uses the disk_io value to monitor the disk perfomance on RH Enterprise server and due to this issue we are unable to monitor the disk of our critical customers who are running RH AS 3.0 . Thanks Yogesh This isn't a bug, its a limitation of the /proc/stat file and the data structures which hold the information presented in it. Due to ABI compatibility issues, it is impossible in the RHEL3 series to add any stats to /proc/partitions for devices with block major > 16. Instead, /proc/partitions has all the current information in /proc/stat (only in a slightly different format), and includes the missing devices. |