Skip to main content

Creating a mirror relationship from a source SVM

You can use Storage Manager to create a mirror relationship from the source storage virtual machine (SVM), and to assign a mirror policy and schedule to the mirror relationship. The mirror copy enables quick availability of data if the data on the source volume is corrupted or lost.

Before you begin

  • The SnapMirror license must be enabled on the source cluster and destination cluster.

    Note

    For some platforms, it is not mandatory for the source cluster to have the SnapMirror license enabled if the destination cluster has the SnapMirror license enabled.

  • While mirroring a SnapLock volume, the SnapMirror license must be installed on both the source cluster and destination cluster, and the SnapLock license must be installed on the destination cluster.

  • The source cluster and destination cluster, and the source SVM and destination SVM must be in a healthy peer relationship.

  • The destination aggregate must have space available.

  • FlexVol volumes must be online and read/write.

  • The SnapLock aggregate type must be the same.

  • A maximum of 25 volumes can be protected in one selection.

  • If you are connecting from a cluster running ONTAP 9.2 or earlier to a remote cluster on which Security Assertion Markup Language (SAML) authentication is enabled, password-based authentication must be enabled on the remote cluster.

About this task

  • Storage Manager does not support a cascade relationship.

    For example, a destination volume in a relationship cannot be the source volume in another relationship.

  • You can create a mirror relationship between SnapLock volumes of the same type only.

    For example, if the source volume is a SnapLock Enterprise volume, then the destination volume must also be a SnapLock Enterprise volume.

  • If encryption is enabled on the source volume and the destination cluster is running a version of ONTAP software earlier than ONTAP 9.3, then encryption is disabled on the destination volume by default.

  1. Click Storage > Volumes .
  2. From the Volumes on SVM list, select All SVMs .
  3. Select the volumes for which you want to create mirror relationships, and then click More Actions > Protect .

    The Protect option is available only for a read/write volume.
  4. Select Mirror from the Volume Relationship Type list.
  5. Specify the cluster and the SVM, and then enter a name suffix for the destination volume.

    If the specified cluster is running a version of ONTAP software earlier than ONTAP 9.3, then only peered SVMs are listed. If the specified cluster is running ONTAP 9.3 or later, peered SVMs and permitted SVMs are listed.
  6. Optional: Click , update the protection policy and protection schedule, select FabricPool-enabled aggregate , and then initialize the protection relationship.
  7. Click Save .

Result

A new destination volume of type dp is created with the following default settings:

  • Autogrow is enabled.

  • Compression is disabled.

  • The language attribute is set to match the language attribute of the source volume.

If the destination FlexVol volume is on a different SVM than the source FlexVol volume, then a peer relationship is created between the two SVMs if the relationship does not already exist.

A mirror relationship is created between the source volume and the destination volume. The base Snapshot copy is transferred to the destination volume if you have opted to initialize the relationship.