Library Table of Contents Index Previous Next Comments

Releasing partners from a SnapMirror relationship

When to release partners from a SnapMirror relationship  Top

If you want to permanently end a SnapMirror relationship between a source and destination volume or qtree, you invoke different commands on the source and destination filers.

How to release a source from a SnapMirror relationship  Top

To release a source from a SnapMirror relationship, complete the following step.

Step

Action

1

On the source filer, enter the following command:

snapmirror release {source_volume | qtree_path} 
[dest_filer:]{dest_volume | qtree_path}

source_volume or qtree_path is the name of the source volume or path to the qtree that you want to release from the destination.

dest_filer is the name of the filer where the destination is located.

dest_volume or qtree_path is the name of the volume or path to the qtree that is the destination.

If you do not enter the name of the destination filer, SnapMirror uses the name of the filer on which you entered the command.

Result

SnapMirror frees all resources on the source filer that had been dedicated to the SnapMirror relationship.

Volume example
filerA> snapmirror release vol0 filerB:vol2
Qtree example
filerA> snapmirror release vol/vol1/qtree2 
filerB:/vol/vol2/qtree5

How to scrub a destination of a broken SnapMirror relationship  Top

In order to permanently break a SnapMirror relationship on a destination volume or qtree, you need to carry out extra steps in addition to invoking snapmirror break on the destination filer and snapmirror release on the source filer. Unless these extra steps are taken, the snapshots associated with the broken relationship remain stored on the destination filer, and a snapmirror status command will continue to list the former destination object as a current destination object. To scrub a destination of a SnapMirror relationship, complete the following steps.

Step

Action

1

If you have not already done so,

2

On the destination filer, invoke the snapmirror status -l command to determine which snapshot basename is associated with the SnapMirror relationship that you just broke.

  • For broken SnapMirror volume relationships enter:
    snapmirror status -l dest_vol
    
  • For broken SnapMirror qtree relationships enter:
    snapmirror status -l /vol/dest_vol/dest_qtree
    

In the detailed output that is displayed, note the snapshot basename associated with the SnapMirror relationship that you just broke.

3

On the destination filer, delete the snapshot set that you displayed in Step 2. Enter:

snap delete snapshot_basename
4

Through the Adminhost client, edit the /etc/snapmirror.conf file on the destination filer. Locate and delete the entry that specifies the SnapMirror relationship you want to end. For details on editing the /etc/snapmirror.conf file, see snapmirror.conf file entry syntax.

Library Table of Contents Index Previous Next Comments