snapmirror update-ls-set
Start an incremental load-sharing set transfer
Description
The snapmirror update-ls-set command updates a set of load-sharing mirrors. The command makes destination volumes, in the group of load-sharing mirrors, up-to-date mirrors of the source volume.
The key parameter that identifies the set of load-sharing mirrors is the source volume. SnapMirror transfers are performed from the source volume to each of the up-to-date destination volumes in the set of load-sharing mirrors.
After an update using the snapmirror update-ls-set command successfully completes, the last Snapshot copy transferred is made the new exported Snapshot copy on the destination volumes.
This command is only supported for SnapMirror relationships with the field "Relationship Capability" showing as "Pre 8.2" in the output of the snapmirror show command.
Parameters
- { -source-path | -S {<[vserver:][volume]>|<[[cluster:]//vserver/]volume>|<hostip:/lun/name>|<hostip:/share/share-name>|<[vserver:]/cg/[cgname]>} - Source Path
- This parameter specifies the source endpoint of the SnapMirror relationship in one of four path formats. The normal format includes the names of the Vserver (vserver) and/or the volume (volume).
- -source-vserver <vserver name> - Source Vserver
- Specifies the source Vserver of the SnapMirror relationship. This parameter is not supported for relationships with non-Data ONTAP source endpoints.
- -source-volume <volume name>} - Source Volume
- Specifies the source volume of the SnapMirror relationship. This parameter is not supported for relationships with non-Data ONTAP source endpoints.
Examples
To update the group of load-sharing mirrors for the source endpoint named //vs1.example.com/dept_eng, type the following command:
cluster1::> snapmirror update-ls-set -source-path //vs1.example.com/dept_eng