The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to register at next log in.
Please note that access to your NetApp data may take up to 1 hour.
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

What is the MirrorState returned when a frame goes down hard?

Andrew7193

I am trying to write a script using NetApp PowerShell and one of the branches is based on the MirrorState returned from Get-NcSnapmirror. I have never (knock on wood) been in a situation where a source had gone down hard so I do not know what a frame would return on the MirrorState. Is it "broken-off", "in error", "snapmirrored", or what?

1 ACCEPTED SOLUTION

Sergey_Osipov

mirrored state has nothing to do with a source volume state.

It simply shows the state of a destination volume

 

So I probably don't understand correctly what you are trying to achieve

 

 

View solution in original post

4 REPLIES 4

Sergey_Osipov

check out here for mirrorstate output

 

https://docs.netapp.com/ontap-9/topic/com.netapp.doc.dot-cm-cmpr-970/snapmirror__show.html?cp=5_1_22_16

 

  Mirror State: State of the destination volume. Can be one
                              of the following:
                              - Uninitialized: Destination volume has not
                                              been initialized.
                              - Snapmirrored: Destination volume has been
                                              initialized and is ready to
                                              receive SnapMirror updates.
                              - Broken-off: Destination volume is RW
                                            and snapshots are present.

Andrew7193

So you are saying that if the mirror state was "snapmirrored" and the source frame went off line the snapmirror state would still show as "snapmirrored"? You are absolutely certain this is how it would appear?

Sergey_Osipov

mirrored state has nothing to do with a source volume state.

It simply shows the state of a destination volume

 

So I probably don't understand correctly what you are trying to achieve

 

 

View solution in original post

Andrew7193

I am running a PowerShell script that validates a mirror state prior to beginning activity on that mirror. I wanted to know if  the state was different based on source availability. From your answer it would not. Thank you for your answer.  

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