Replicating a volume

Description

Replicate a volume if you are in any situation described in "Purposes of SnapMirror." You can replicate a volume at any time. After you replicate a volume, you have a mirror that contains the same data as the source volume.

Prerequisites

The following prerequisites must be met before you can replicate a volume:

Restrictions

Each filer supports up to four simultaneous volume copy operations. For information about volume copy operations, refer to "Number of volume copy operations SnapMirror generates."

Cautions

Recommendations

Follow these recommendations to minimize confusion or to replicate data efficiently:

Steps

Follow these steps to replicate a volume.

Step Action
1 Add the host name of the destination filer to the /etc/snapmirror.allow file on the source filer.
2 Edit the /etc/snapmirror.conf file on the destination filer to specify the volume to be replicated and the schedule at which the mirror is updated.
3 Enter the vol snapmirror on command on both the source filer and destination filer to enable SnapMirror.
Result
The filer reads the /etc/snapmirror.conf file. If the filer is a destination filer specified in the /etc/snapmirror.conf file, it establishes a connection with the source filer at the time of the scheduled mirror update. If a baseline version of the mirror does not exist, the filer takes a snapshot of the source volume at the time of the scheduled mirror update and transfers all data in the snapshot from the source volume to the mirror. The filer does not display any messages if it can transfer the data successfully. You can check the data replication status following the instructions in "Checking data replication status." The filer makes subsequent updates to the mirror according to the schedule specified in the /etc/snapmirror.conf file.

Note: The vol snapmirror on command does not persist across filer reboots. Put the command in the /etc/rc file if you want the command to remain in effect after the filer is rebooted. If the /etc/rc file does not contain a vol snapmirror command, data replication is disabled.


4 If the source volume and the mirror reside on different filers, and if the source volume has quotas enabled, copy the /etc/quotas file from the source filer to a file on the destination filer. Whenever you make a change to the /etc/quotas file on the source filer, make the same change to the copy on the destination filer so that the destination filer always contains a record of all the quota entries used by the source filer.

Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: mirror8.htm
Last updated: 02/24/99 12:17:14