You are on page 1of 6

SNAP Mirror reverse ReSync

Purpose

This explains how to perform SNAP Mirror reverse Re-Sync

Contents
CLI
In this scenario, FILERA is the source controller and FILERB is the destination
controller.
Note: The snapmirror resync will not succeed if either controller (source or
destination) cannot properly resolve the hostname of its respective source or
destination. If the entries do not exist in DNS, they can be added locally to the
controller by updating the /etc/hosts file.
Example /etc/hosts file
10.10.10.131 FILERA
10.10.20.131 FILERB
Show the status of the relationship
FILERB> snapmirror status
Snapmirror is on.
Source
Destination
State
Lag
Status
FILERA:src_vol
FILERB:dst_vol
Snapmirrored 00:10:38 Idle
Quiesce the mirror
FILERB> snapmirror quiesce dst_vol
Break the mirror
FILERB> snapmirror break dst_vol

Verify the mirror is broken


FILERB> snapmirror status

Snapmirror is on.
Source
Destination
FILERA:src_vol
FILERB:dst_vol

State
Lag
Status
Broken-off
00:11:00 Idle

To reverse resync, run the resync on the source controller


FILERA> snapmirror resync -S FILERB:dst_vol FILERA:src_vol
The resync base snapshot will be: FILERB(1574063592)_dst_vol.1
Are you sure you want to resync the volume? Y

Check the status again, there should now be two relationships


FILERA> snapmirror status
Snapmirror is on.
Source
Destination
State
Lag
Status
FILERB:dst_vol
FILERA:src_vol
Snapmirrored 00:00:23 Idle
FILERA:src_vol
FILERB:dst_vol
Source
00:15:07 Idle

When the resync has completed, quiesce the mirror


FILERA> snapmirror quiesce src_vol

Break the mirror


FILERA> snapmirror break src_vol

Check the mirror status on the destination controller


FILERB> snapmirror status
Snapmirror is on.
Source
Destination
State
Lag
Status
FILERA:src_vol
FILERB:dst_vol
Broken-off
00:16:39 Idle
FILERB:dst_vol
FILERA:src_vol
Source
00:01:55 Idle
Perform the final resync to reestablish the original mirror
FILERB> snapmirror resync -S FILERA:src_vol
FILERB:dst_vol
The resync base snapshot will be: FILERA(1573979717)_src_vol.1

Are you sure you want to resync the volume? Y

Verify the resync is complete


FILERB> snapmirror status
Snapmirror is on.
Source
Destination
FILERA:src_vol
FILERB:dst_vol
FILERB:dst_vol
FILERA:src_vol

State
Lag
Status
Snapmirrored 00:00:03 Idle
Source
00:02:36 Idle

Delete the unused relationship


FILERB> snapmirror release FILERA:src_vol

The same reverse replication can also be done from systems manager console and
below are the steps.

Quiesce the mirror

Break the mirror

When ready, perform the reverse resync

Quiesce and break the mirror when the resync has completed
Resync the original relationship

Delete the new relationship

You might also like