I raised a bug report related to f2fs some months ago with the same symptoms 
and have yet to hear any news

https://github.com/net-snmp/net-snmp/issues/111

Greg

Regards,

Greg
________________________________
From: Jirka Novak <j.no...@netsystem.cz>
Sent: Friday, October 9, 2020 4:45:19 AM
To: net-snmp-users@lists.sourceforge.net <net-snmp-users@lists.sourceforge.net>
Subject: hrStorage is missing some of my filesystems

Hi All,

  I found that if I query hrStorage for one of my systems I'm missing
some mounted filesystems. I found that it is probably because they are
formatted as f2fs. I'm using net-snmp version 5.7.3 on raspberry-pi.

# mount
...
/dev/mmcblk0p2 on / type ext4 (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
/dev/mmcblk0p5 on /data type f2fs (rw,noatime,nodiratime,...)
/dev/mmcblk0p1 on /boot type vfat (rw,...)
/dev/mmcblk0p6 on /var type f2fs (rw,noatime,nodiratime,...)
...

# snmpwalk
...
HOST-RESOURCES-MIB::hrStorageDescr.31 = STRING: /
HOST-RESOURCES-MIB::hrStorageDescr.54 = STRING: /tmp
HOST-RESOURCES-MIB::hrStorageDescr.58 = STRING: /boot
...

/data and /var are missing.

Is there any reason for it in code of snmpd or is it missconfiguration?

Thank you for any advice.

                                Best regards,

                                                Jirka Novak


_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to