Bug 586217

Summary: Sysstat package no longer collects disk statistics by default
Product: Red Hat Enterprise Linux 5 Reporter: Pat Kartas <pat.kartas>
Component: sysstatAssignee: Ivana Varekova <varekova>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: low    
Version: 5.4CC: clusterman, jnansi, mpoole, tao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-24 07:02:50 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 Pat Kartas 2010-04-27 05:09:16 UTC
Description of problem:
sadc was adjusted from v5.1.2 (RHEL5 uses v7+) to only collect disk stats if the '-d' flag is set, to save disk space. This is unlikely to be desired behaviour for an enterprise OS, and not something sysadmins should need to remember to turn on by default. The fix is trivial: to adjust the /etc/cron.d/sysstat entry for sa1 to include a '-d' flag.

Version-Release number of selected component (if applicable):
7.0.2


How reproducible:
Always

Steps to Reproduce:
1. Install sysstat package, and allow stats collection to begin to run

2. Run
$ sar -d

3. Compare with
$ sar -d 1 1
  

Actual results:
"Requested activities not available in file"


Expected results:
"Linux 2.6.18-164.el5 (bfssydc9n1)       04/27/10

15:01:56          DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util
15:01:57       dev8-0      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
15:01:57       dev8-1      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
15:01:57       dev8-2      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
..."


Additional info:
Can be fixed with e.g.
bfssydc8n1 root[95] diff /var/tmp/sysstat.crond.orig /etc/cron.d/sysstat
2c2
< */10 * * * * root /usr/lib64/sa/sa1 1 1
---
> */10 * * * * root /usr/lib64/sa/sa1 -d 1 1

Comment 1 Greg A 2010-08-19 23:10:41 UTC
I'm chiming in to state that as a large enterprise customer, we COMPLETELY agree.  Disk statistics are absolutely mandatory in our environment.

I've also asked our TAM to push this through along with an enhancement request for SAR to provide the disk statistics by sd or mpath device names.  As they report today they are difficult to interrupt because we have to map the contents of /proc/partitions (major minor numbers) back to the sd or multipath device.

I'd like the -d added in 5.6 and any new major release. I'd like the enhancement mapped into a future update of sysstat on RHEL 5 as well as RHEL 6.

Comment 3 Ivana Varekova 2011-01-24 07:02:50 UTC

*** This bug has been marked as a duplicate of bug 598794 ***