Bug 789441
Summary: | net-snmp reports incorrect used disk space for large filesystems | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Larkin Lowrey <llowrey> |
Component: | net-snmp | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | jsafrane |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-20 15:49:59 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
Larkin Lowrey
2012-02-10 18:55:50 UTC
Confirmed still occurring in F17. The bug fix should be included in the 5.7.2 release of net-snmp. This version is in the F18 testing repo. I would greatly appreciate this version being added to the F17 repo. net-snmp-5.7.1-3.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/net-snmp-5.7.1-3.fc16 net-snmp-5.7.1-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/net-snmp-5.7.1-5.fc17 Package net-snmp-5.7.1-3.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing net-snmp-5.7.1-3.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16659/net-snmp-5.7.1-3.fc16 then log in and leave karma (feedback). This does not appear to have worked. I'm getting the following in /var/log/messages: snmpd[1855]: truncating integer value > 32 bits Here're the results from snmpget: HOST-RESOURCES-MIB::hrStorageSize.31 = INTEGER: 2043037374 HOST-RESOURCES-MIB::hrStorageUsed.31 = INTEGER: 2796038858 The Used value should not be larger than the Size value. The correct Used is 1772751538. I'm running: Installed Packages Name : net-snmp Arch : x86_64 Epoch : 1 Version : 5.7.1 Release : 5.fc17 Size : 870 k Repo : installed From repo : updates-testing (In reply to comment #5) > Here're the results from snmpget: > > HOST-RESOURCES-MIB::hrStorageSize.31 = INTEGER: 2043037374 > HOST-RESOURCES-MIB::hrStorageUsed.31 = INTEGER: 2796038858 > Interesting... Just to be sure, please provide output of rpm -qa | grep net-snmp And please start snmpd like this: # snmpd -f -Lo -Dfsys -Lf snmpd.log Stimulate it using: # snmpwalk localhost hrStorageTable and send me snmpd.log file and output of the snmpwalk. With my dummy 18TB filesystem, it shows following line in the log: fsys: Results of 32-bit conversion: size 4812611303 -> 1203152825; units 4096 -> 16384; avail 4570986620 -> 1142746655; used 32773 -> 8193 And my hrStorageTable looks ok: HOST-RESOURCES-MIB::hrStorageAllocationUnits.65 = INTEGER: 16384 Bytes HOST-RESOURCES-MIB::hrStorageSize.65 = INTEGER: 1203152825 HOST-RESOURCES-MIB::hrStorageUsed.65 = INTEGER: 8193 I have it working now. When I updated net-snmp yum updated everything except net-snmp-agent-libs. Once I updated that to 5.7.1-5.fc17 I got the correct values. Thank you! This has been bugging me for months. net-snmp-5.7.1-3.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |