From: SourceForge.net <no...@so...> - 2009-01-14 16:36:47
|
Bugs item #2033142, was opened at 2008-07-30 22:03 Message generated for change (Settings changed) made by dts12 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2033142&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: agent >Group: 64-bit Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: net-snmp does not properly read 3.2T Disks or Partions Initial Comment: System Information • Sun Solaris 10 6/06 s10x_u2wos_09a X86 • ZFS Filesystem, partitioned as 3.2T /usr/fast • Net-SNMP 5.4.1.1 (ftp://ftp.sunfreeware.com/pub/freeware/intel/10/netsnmp-5.4.1.1-sol10- x86-local.gz) • Sun-supplied GCC (/usr/sfw/bin/gcc) version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) Problem The issue arose due to the two servers having 3.2T disks which were larger than could be addressed by net-snmp. Couldn't open device fast statvfs dev/disk: Value too large for defined data type These messages were printed out whenever net-snmp polled the local disks for information (usually when I would issue an snmpwalk on the server). If traps were also configured, it’s possible these messages would be printed out intermittently (not requiring a walk). Suggest Solution So, to solve the problem, we need to instead use the 64-bit version of statvfs. To do this, we simply call statvfs64 within disk.c instead of statvfs (as well as using the corresponding statvfs64 data structure) ---------------------------------------------------------------------- Comment By: Thomas Anders (tanders) Date: 2008-07-30 23:28 Message: Logged In: YES user_id=848638 Originator: NO Could you please attach the exact patch you're using/proposing? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2033142&group_id=12694 |