I have setup snapmirror relation between source and destination for a volume. Added the entry into the snapmirror.conf file and scheduled the snapmirror. I took the snapshot at the source using snapdrive to make the consistent snap shot . I invoked snapmirror quiesce and break via oncomand system manger so the destination volume will be read/writeable. Mounted the dr Lun at the destination server and tested all ok. Everything worked up to this stage.
I took a snapshot at the destination server using snapdrive.
My intention was to reverse synch from dr to source filer after few test . I noticed that the snapmirror relation on the oncomand system manger was in unknown sate instead “reverse” or “resync “ with broken-off. I was not able to reversesync from the destination to source back since the only option was left to initialize from source to destination.
I can not think of any reason why I did not have the option to reverse sync . Is it something to do with oncomand sytem manager or snapdrive snapshot? I will appreciate experts who can help me on this.
I was able to recreate the issue today. I ran the initialization first then ran snap mirror via snap drive.
i made it sure that both place have common snapshot.
> snap list vol at both filer and noticed that both place has had common snapshot.
for an example ****.snap.25
I noticed that last snapshot (***.snap.25) at the dr site is being deleted/renamed when i mount the lun to snapdrive .
the sanpdrive gave this warning when i mounted the lun.
you are attempting to connect to a lun residing on a broken snap mirror swatination storage system volume. A snaprestore operation from the most recent consistent snapshot copy of the lun will be performed before the connection is established.
Yes, snapshots with names containing destination and sysid are SnapMirror snapshots. They are created automatically every time SnapMirror is updated (unless snapshot is specified explicitly). What happens here most likely is
- SnapDrive creates "consistent" snapshot on source
- SnapMirror is updated created next xxx.n snapshot. This updates transfers also SnapDrive snapshot, which is earlier than SnapMirror snapshot.
- when LUN is connected on destination, it is reverted to SnapDrive snapshot - this by definition removes all later snapshots.
As I already mentioned, to me most surprising is missing SnapDrive snapshot on source.