Table of ContentsView in Frames

Editing the snapmirror.conf file

You should edit the snapmirror.conf file only when there are no active SnapMirror transfers for the source and destination relationships that you want to change. If SnapMirror is enabled, changes take effect within two minutes. If SnapMirror is not enabled, changes take effect immediately after you enable SnapMirror.

Before you begin

Check whether the snapmirror.conf file exists in the /etc/ directory on the root volume of the destination system. If the file does not exist, create the snapmirror.conf file by using a text editor.

About this task

If you change the host name in a snapmirror.conf file entry when there are more than one active SnapMirror transfers for that specific source and destination relationship, one or more of the transfers might be aborted.


  1. For each destination volume or qtree on this system, type an entry specifying the source, destination, characteristics, and schedule of the data transfer on one line using the following syntax.source_system:{source_volume | /vol/volume_name/qtree_name} dest_system:{dest_volume | /vol/volume_name/qtree_name} arguments schedule
    Note: When using a qtree as a source, you should not create the destination qtree manually. SnapMirror automatically creates the destination qtree for you, using the name you specify. However, you must specify the name and path of the destination qtree, either in the /etc/snapmirror.conf file or in the snapmirror initialize command.
    Note: You can only specify up to 254 destination qtrees for a specific volume in the /etc/snapmirror.conf file.

    If you want to replicate all non-qtree data within a volume to a destination qtree, use the following syntax.source_system:/vol/source_volume/- dest_system:/vol/dest_volume/qtree_name

    The hyphen (-) character indicates all non-qtree data in the specified volume.

    Note: The data in /vol/source_volume/- qtree can only be a SnapMirror source, not a destination.
  2. If you want to add comments to the /etc/snapmirror.conf file, precede the comment with a pound (#) sign.
    # Replicating from systemA
  3. Save edits to the file.