2016-04-13 02:52 AM
I have NetApp ONTAP 7 mode simulator v8.2.
Implemented vFiler / multistore. Also created LUNs on vFiler.
Is anyone aware of which API can be used to get data about LUN count on vFilers? "lun-list-info" API does not give me this count.
There is another API called "vfiler-list-info", will that give me the LUN count on vFiler Unit?
2016-04-18 02:38 AM
use "lun-list-info" and proces the output in a loop to get all the lun path or serial numbers into an array. You can then count this array to get the number.
Please mention which scripting language you are using, so that someone may be able to help with a sample code.
2016-04-27 02:06 AM
Thanks for your reply.
We are using "lun-list-info" to display the count. But this API does not get any data regarding for the LUNs which are created on vFiler. It just gets you the LUNs data which are directly created on NetApp Filer
2016-04-27 02:14 AM
did you try to set the vfiler context before invoking "lun-list-info" API ?