Dec 14, 2009 2:56 PM
Incorrect Disk Usage Data
-
Like (0)
I am running into an issue when monitoring disk space on a centos 5 machine, on the cli after running the df command I get the following:
[tracking1] ~ # df -H
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00 2.0T 1.8T 67G 97% /
/dev/sda1 104M 12M 87M 12% /boot
tmpfs 4.3G 0 4.3G 0% /dev/shm
But SNMP/Zenoss reports
Mount | Total bytes | Used bytes | Free bytes | % Util | M | Lock | |
---|---|---|---|---|---|---|---|
/ | 1.7TB | 1.6TB | 154.4GB | 91 | |||
/boot | 98.7MB | 10.7MB | 88.0MB | 10 |
Is this just me or is someone else seeing inconsistent data also.
Thanks in advance.
This is a known issue. Linux ext2/3 file systems reserve some 5% of the file system for the root user in case it all fills up, otherwise denying everyone access.
This space is hidden from df, but not to snmp. It is a matter of choice on how to approach this. There are two ways.
1)Remove this reservation in your filesystems. ~]# tune2fs -m 0 /mount/point
2)Take the offset into consideration in zenoss, follow this doc; docs/DOC-3233
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||