2012-10-24 02:28 AM
I'm attempting to write a script for a customer to create an overview of snapshots older than x days. My starting point would be to get a list of all volumes and query those volumes for snapshots.
I see in the documentation that the Get-NaVol cmdlet uses the volume-list-info API. However, this API is known to cause problems on busy filers with many LUNs. (See BURTs 645937 and 531053). SDW6.4.1 contains a fix that uses the volume-list-info-iter-* API instead.
Is there an alternative cmdlet available that uses the volume-list-info-iter-* API?
Solved! SEE THE SOLUTION
2012-10-24 12:40 PM
There is not a separate cmdlet that uses the volume-list-iter-* API. As Clinton suggested, the -Terse option significantly reduces the amount of data returned, which helps on heavily-loaded systems. However, as you point out, this does still use volume-list-info. I will log moving to the iterator form for consideration in a future release.
2012-10-25 04:48 AM
Can we file the use of volume-list-info as a bug? The volume-list-info API has been depreciated and should thus no longer be used. (see b#645937).
I'd like to have commitment that a fix will go onto the roadmap (if there is such a thing for this).