I've tried searching but haven't (as yet) found an answer to this; apologies if I've missed it (when a link to the answer will be much appreciated).
NetApp itself claims a committed value on an aggregate of 50.7TB / 167% committed (31TB aggregate size total).
If I add up all the 'total' byte values revealed via SNMP for all the volumes in the aggregate* I get 46.7TB, which implies 147% committed.
My belief is, the difference is related to snapshot reserve allocation, but this appears to be not revealed via SNMP, nor via any NetApp API counter. All the .snapshot instances report zero total bytes from an SNMPwalk of the relevant OID table (.18.104.22.168.4.1.722.214.171.124).
I need to be able to acquire this data programatically per aggregate, i.e. via any combination of SNMP or API. This can be done per-volume and summing values, or per aggregate if there's a suitable counter or counters (can't see anything obvious though).
Any suggestions? Many thanks in advance.
*Using suitable mathematics on the HighTotalKBytes and LowTotalKBytes OIDs at .126.96.36.199.4.1.7188.8.131.52.1.14.x and .184.108.40.206.4.1.7220.127.116.11.1.15.x
- Variously, NetApp Release 8.1.4P1 7-Mode and 8.1.4P8 7-Mode
- I need to acquire the data directly from the filers. The only protocols I can access (for the purposes of this project, currently) are SNMP and the NetApp API counters; whatever method I end up with needs to work based on just these two, i.e. in the presumption OCUM will not be available in all cases.
That helps narrow things down a bit. I don't have access to my 7mode simulators at this moment to test this right now, but taking a look through the Zedi Explorer/Zexplore tool it looks you might get commit numbers with the 'aggr-space-list-info' API.
Here's a screenshot from zexplore showing what values are expected to return:
If you have NetApp's manageability SDK installed (available from their support site) you could probably test this out pretty quickly in zexplore and see if the numbers look right. I can try and test this out over the next day or two when I get some spare time too.
Unfortunately, that command didn't return the real commit/thin sizes as expected...at least not in my simulator. It'd be worth trying out on a real filer but probably won't return the right info.
The api named 'volume-list-info' does return the right information though. It looks like your best bet would be to run that API and filter by the attribute 'containing-aggregate'. Once that is done you could add up attributes 'filesystem-size' to get your max commit for an aggregate.