Just How Big Is My Volume? NetApp and Powershell

It would at first appear easy to determine how big your NetApp volume is in PowerShell. There is a cmdlet called Get-NAVol and it has a property called TotalSize. Easy, right?

Maybe not.

There is another cmdlet called Get-NAVolSize. What is the difference between the results returned by the two comdlets? Get-NAVol will show you the total size without the snap reserve space. Get-NAVolSize returns the actual size of the volume, including the snap reserve. This isn’t well documented in the Get-Help for these cmdlets and took some experimentation for me to figure out.

Hopefully this helps anyone who is confused about finding different values in the two commands.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s