Red Hat Bugzilla – Bug 151623
hrPartition table doesn't work with LVM
Last modified: 2008-02-27 04:31:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050302 Firefox/1.0.1 Fedora/1.0.1-1.3.2
Description of problem:
The hrPartitionTable code doesn't know about LVM device formats. The code in init_hr_disk looks for /dev/hd, /dev/sd, /dev/md, and /dev/fd, but thats it.
You could argue that LVM isn't a "partition", but raid devices are there. We use this for working out all the partitions and their mount points, for cricket/etc monitoring.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
snmpwalk -v 2c -c public host localhost | grep Partition
Actual Results: No /dev/mapper/VolGroup00-LogVol00 entries, and no hrPartitionFSIndex entry pointing to /
Expected Results: Entry for /dev/mapper/VolGroup00-LogVol00, with associated hrPartitionFSIndex entry pointing to the / partition
On my machine, I don't even get /dev/hda1 in the output, although I do on another box that doesn't have any LVM configured.
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.
net-snmp-5.3-4.2 on FC5
moving to FC5 as per comment #2.
moving to rawhide - FC5 is not supported anymore. There is ongoing discussion
upstream about LVM, see
I updated the upstream patch:
Now it waits for upstream acceptance (which usually takes quite long time, even
The patch was accepted, you can look forward for net-snmp 5.5