net-snmp & HOST-RESOURCES-MIB::hrStorage

"Julian Grunnell" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <sig.08481ab524.78D290A81905884FAFF0C025F980FA0AAC3E16@pippa.internal.hosteurope.com>
Hi - hoping someone can help me with an issue I'm having with the above.
I'm using snmp via a Cacti server to query disk usage on a client with a
21Tb partition defined - yet I seem to get the disk size incorrectly
reported. I get the same result when querying the server locally.
Platform details are:

 

Centos 5.5 x86_64

Kernel 2.6.18-194.11.1.el5

/usr/sbin/snmpd -v

NET-SNMP version:  5.3.2.2

 

The partition in question is 21Tb in size and below is the output from
an snmpwalk, I'm basically after some details of how I can track down
the issue - is it an issue with net-snmp?

 

HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5

HOST-RESOURCES-MIB::hrStorageType.5 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk

HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /data

HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 4096 Bytes

HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 1074233344

HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 93350

 

df -h

Filesystem            Size  Used Avail Use% Mounted on

/dev/sdb               21T  365M   21T   1% /data

 

When I view the details of this in Cacti it's telling me the size of
/data is only 4Tb. No other devices have this problem, but then again
none of them have drives that are over 2 Tb.

 

Any help in resolving this would be greatly appreciated.

 

 

Thanks.

 

Julian Grunnell
Unix Sys Admin
Webfusion Limited.

Phone:0208 587 7212
Mobile:07803649593
Email:[email protected]

  <http://www.webfusion.com/> 

Bringing the world's ideas online
Webfusion <http://www.webfusion.com> , 123-reg
<http://www.123-reg.co.uk> , Donhost <http://www.donhost.co.uk> , 
Supanames <http://www.supanames.co.uk> 
Follow us on Twitter: Webfusion <http://twitter.com/webfusion> , 123-reg
<http://twitter.com/123reg> 

This e-mail is subject to: Webfusion disclaimer
<http://www.corporate.webfusion.co.uk/disclaimer> 
Please consider the environment before printing this email

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
image001.gif (image/gif, 877 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.