Microsoft Virtualization Discussions

Volumes not snapmirrored

skellner

I want to check which volumes per controller are not snapmirrored. I think there should be an elegant way to achiveve this with powershell and the command get-navol and get-nasnapmirror. However, didn't manage it yet. Maybe someone of you can help me with this task or created a similar script already. Thanks in advance.

Regards

Stefan

1 REPLY 1

cknight

It's easy to get which volumes are snapmirrored:

Get-NaVol | Get-NaSnapmirror

There are various ways of figuring which ones aren't snapmirrored.  Here's one:

Get-NaVol | % { if ( (Get-NaSnapmirror $_) -eq $null ) { Write-Output $_; }}

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