Community

Subscribe
Highlighted
Accepted Solution

Finding all volumes that have Snapshots turned off (nosnap=on)

As the subject line states, I am looking for a way (CLI, Powershell Toolkit, etc.. ) that would show me all of my volumes that have snapshots turned off.

Does anyone have a quick method of pulling this information, or is this purely a manual process?

thanks,

Brian

Re: Finding all volumes that have Snapshots turned off (nosnap=on)

7-Mode I assume:  get-navol | get-nasnapshotschedule

Re: Finding all volumes that have Snapshots turned off (nosnap=on)

That was exactly what I was looking for, and it seems pretty obvious now that I am looking at it.

thanks for your help.

Re: Finding all volumes that have Snapshots turned off (nosnap=on)

So there is also an option on each FlexVol that can disable automated storage side snapshots from being taken, regardless of the schedule.  I had to phone a friend, but in addition to running the above, you might also want to run this one liner to see if the option is enabled:

Get-NaVol | ForEach-Object {$volName = $_.Name;Get-NaVolOption -Name $volName | Where-Object {$_.Name -eq 'nosnap'} | Select-Object -Property @{Name='VolumeName';Expression={$volName}}, Name, Value}

:Thanks Jason Cole!

Re: Finding all volumes that have Snapshots turned off (nosnap=on)

That is even better.

Thanks again. 

Re: Finding all volumes that have Snapshots turned off (nosnap=on)

What is the equivalent in c#?

Thanks

Re: Finding all volumes that have Snapshots turned off (nosnap=on)

OK

volume-options-list-info

Thanks