Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Turning off SnapMirror updates

Why you turn off updates  Top

You can use the snapmirror off command to turn off updates, both scheduled and manual, for the entire storage system at any time, even when copying is underway. Any active transfer is aborted when you turn off SnapMirror for the storage system. The destination remains unchanged after you turn off updates.

This process affects all SnapMirror transfers for the system, whether the system is the source or the destination of the SnapMirror relationship.

To turn off scheduled and manual updates for the entire storage system, complete the following steps.

Step

Action

1

Enter the following command on both the source system and destination system to disable SnapMirror:

options snapmirror.enable off

Alternatively, you can still use the older command to turn SnapMirror off:

snapmirror off

Result

If SnapMirror is currently transferring data from one volume or qtree to another, the transfer aborts immediately. The destination remains the same as before the transfer. The Snapshot copy taken in the source volume for the data transfer remains.

SnapMirror stops monitoring the /etc/snapmirror.conf file for changes.

Entering the snapmirror off command on the destination system alone does not affect SnapMirror on the source system. Other systems can continue to copy data from the source system.

Note
Both the snapmirror off command and the snapmirror.enable off option are persistent across reboots.

2

If the snapmirror on command is in the /etc/rc file, remove the command (to keep the current setting after reboot). Otherwise the setting in the /etc/rc file overrides the command you entered.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments