Effective December 3, NetApp adopts Microsoft’s Business-to-Customer (B2C) identity management to simplify and provide secure access to NetApp resources.
For accounts that did not pre-register (prior to Dec 3), access to your NetApp data may take up to 1 hour as your legacy NSS ID is synchronized to the new B2C identity.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

Volume Snapshot Utilization Information

jurphville

I'm writing a script to pull volume usage (df) information from our Netapps.  The get-navol cmdlet does almost everything I need, but I want to break out the snapshot utilization in my report as well.  In our environment, we set the snap reserve to 0, which means that the SizeUsed includes the size of all the snapshots.  Is there a way to get the amount of space used by snapshots for a volume using the powershell kit?  The Get-NaSnapshotVolumeSpace cmdlet looked promissing, but it appears to only return the amount of space available to shapshots in the volume, which in my case is the same as the SizeAvailable for the Get-NaVol cmdlet.

I can get this information from the df command, using rsh, or the new ssh connection type in 1.3, but if I'm going to go through that pain, I might as well use the volume stats from there as well.

2 REPLIES 2

cknight

See this thread.  Does that help?

jurphville

That's a good step in the right direction, but as I posted in the other thread, I'm getting inconsistent results.

Perhaps this should be viewed as an enhancement request?  "Have the Get-NaVol cmdlet include stats for snapshot utilization like the df command does"

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public