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