RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 707912 - net-snmp does not see mounted XFS filesystem
Summary: net-snmp does not see mounted XFS filesystem
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: net-snmp
Version: 6.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-26 10:19 UTC by Karel Srot
Modified: 2011-12-06 17:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Prior this update, the snmpd daemon ignored XFS filesystems when populating HOST-RESOURCES-MIB::hrFSTable and these filesystems were simply not reported there. This update adds XFS filesystem support to HOST-RESOURCES-MIB::hrFSTable in snmpd. (BZ#707912).
Clone Of:
Environment:
Last Closed: 2011-12-06 17:11:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1524 0 normal SHIPPED_LIVE net-snmp bug fix update 2011-12-06 01:02:35 UTC

Description Karel Srot 2011-05-26 10:19:18 UTC
Description of problem:

The same problem with XFS detection is on RHEL6
net-snmp-5.5-31.el6.x86_64


--- Copied from 654384 ----------

I have tested this bug with net-snmp-5.3.2.2-12.el5 (see reproducer
https://tcms.engineering.redhat.com/case/92807/)
but snmpd does not see the XFS filesystem while the old version does.

[root@rhel5 ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                       5999168   1928576   3760936  34% /
/dev/vda1               101086     12547     83320  14% /boot
tmpfs                   513456         0    513456   0% /dev/shm
/dev/vdb             107374050928      7328 107374043600   1% /mnt/hugefs

[root@rhel5 ~]# rpm -q net-snmp
net-snmp-5.3.2.2-12.el5
[root@rhel5 ~]# snmpwalk -v2c -c public -v 1 127.0.0.1 .1.3.6.1.2.1.25.2.3.1 |
grep hrStorageDescr
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Virtual memory
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: Memory buffers
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: Cached memory
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: Swap space
HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.35 = STRING: /boot

[root@rhel5 ~]# rpm -q net-snmp
net-snmp-5.3.2.2-9.el5
[root@rhel5 ~]# snmpwalk -v2c -c public -v 1 127.0.0.1 .1.3.6.1.2.1.25.2.3.1 |
grep hrStorageDescr
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Memory Buffers
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Real Memory
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /boot
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /mnt/hugefs

# snmpwalk -v2c -c public -v 1 127.0.0.1 hrFSTable | grep '\.3'
HOST-RESOURCES-MIB::hrFSIndex.3 = INTEGER: 3
HOST-RESOURCES-MIB::hrFSMountPoint.3 = STRING: "/mnt/hugefs"
HOST-RESOURCES-MIB::hrFSRemoteMountPoint.3 = ""
HOST-RESOURCES-MIB::hrFSType.3 = OID: HOST-RESOURCES-TYPES::hrFSOther
HOST-RESOURCES-MIB::hrFSAccess.3 = INTEGER: readWrite(1)
HOST-RESOURCES-MIB::hrFSBootable.3 = INTEGER: false(2)
HOST-RESOURCES-MIB::hrFSStorageIndex.3 = INTEGER: 6
HOST-RESOURCES-MIB::hrFSLastFullBackupDate.3 = STRING: 0-1-1,0:0:0.0
HOST-RESOURCES-MIB::hrFSLastPartialBackupDate.3 = STRING: 0-1-1,0:0:0.0

How reproducible:
always

Steps to Reproduce:
1. create and mount xfs filesystem
2. snmpwalk -v2c -c public -v 1 127.0.0.1 hrFSTable 
and check it is not listed
  
Actual results:
xfs filesystem is not listed as mounted

Expected results:
xfs fs is listed as mounted

Additional info:
Also not working with net-snmp-5.5-27.el6.x86_64 from RHEL6.0

Comment 3 Jan Safranek 2011-08-11 11:35:32 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Prior this update, the snmpd daemon ignored XFS filesystems when populating HOST-RESOURCES-MIB::hrFSTable and these filesystems were simply not reported there. This update adds XFS filesystem support to HOST-RESOURCES-MIB::hrFSTable in snmpd. (BZ#707912).

Comment 6 Tru Huynh 2011-10-24 19:46:46 UTC
regression from Red Hat Enterprise Linux 5, also listed at http://bugs.centos.org/view.php?id=5203

Comment 7 errata-xmlrpc 2011-12-06 17:11:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1524.html


Note You need to log in before you can comment on or make changes to this bug.