omniOS snmp not reporting 2tb+ pools

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

chune

Member
Oct 28, 2013
119
23
18
has anybody got snmp working properly with 2tb+ pools on omniOS? Ive went through and built from source but for the life of me i cant get 2tb+ arrays to report anything other than 0 bytes or just completely missing from host-resourcesMIB. I have tried all sorts of different versions and patches. The current omniOS stable doesnt report zpools at all unless you do this patch:
net-snmp / Mailing Lists

but even then it only reports <2TB pools properly. Anything over 2TB shows up as 0 bytes for hrstorageallocationunits and hrstoragesize. I have a 1TB pool and a 6TB pool here for testing:
anonymous's paste: 66590cf0a8ca6577909d41330