From the destination system, enter the following command:snapmirror resync [options] [dest_system:]{dest_volume | /vol/qtree_path}
options can be any of the following.
- -n does not execute the resynchronization, but displays what would be done if the snapmirror resync command were run. You can use this option to find whether you have a Snapshot copy on the source and on the destination that can be used as the newest common Snapshot copy (base Snapshot copy) so that you can resync a specific SnapMirror relationship.
- -f forces the operation to proceed without prompting you for confirmation.
- -k n sets the maximum transfer speed to n kilobytes per second. This option has the same effect as the kbs argument in the /etc/snapmirror.conf file.
- -S [source_system:]{source_volume | qtree_path} specifies the system and volume or qtree you want to use as the source for resynchronization.
The source specified by the -S option must match a source entry in the /etc/snapmirror.conf file. If entries exist but the source does not match, the operation displays an error message and terminates. If there is no entry for the specified source, the command runs.
Note: If the -S option is not set, the source must be specified in the /etc/snapmirror.conf file. If it is not specified, the operation displays an error message and terminates.
dest_system is the name of the destination system.
dest_volume or /vol/qtree_path is the destination volume or qtree. If it is a scheduled destination as specified in the /etc/snapmirror.conf file, that source volume or qtree is considered to be the source. If the destination volume or qtree specified is not in a scheduled relationship, then the -S option must be used to provide a source.
SnapMirror identifies the newest common Snapshot copy, which will be used as the base for resynchronization, and generates a list of Snapshot copies on the destination volume that:
- Are newer than the base Snapshot copy and will be deleted.
- Are older than the base Snapshot copy and have already been deleted from the source.
Note: For qtree resynchronization, only the common
Snapshot copy is displayed.
SnapMirror then prompts you to choose whether to continue.