Converting a mirror to a regular volume

Description

If you use SnapMirror for data migration, after you synchronize the data between the source volume and the mirror, convert the mirror to a regular volume. If you use SnapMirror for disaster recovery, convert the mirror to a regular volume after the source volume becomes unavailable. After the conversion, you can export the volume or create a share for the volume so that network users can write to it in the same way as they did to the source volume.

Prerequisite

You must meet this prerequisite if the source volume and the mirror reside on different filers and you want the same quota restrictions to be applied after converting the mirror to a regular volume:

The destination filer must have a /etc/quotas file that includes all entries from the /etc/quotas file used by the source filer. If SnapMirror is used for data migration, you can copy the /etc/quotas entries from the source filer to the /etc/quotas file of the destination filer before you convert the mirror to a regular volume. However, if SnapMirror is used for disaster recovery, on the destination filer, keep a copy of all /etc/quotas entries used by the source filer at all times so that you can apply the entries to the destination volume when the source filer becomes unavailable.

Steps

Follow these steps to convert a mirror to a regular volume.

Step Action
1 If you want to enable quotas after converting the mirror to a regular volume, go to Step 2. Otherwise, go to Step 4.
2 Edit the /etc/quotas file on the destination filer so that after the conversion, the former mirror has the same quota restrictions as the source volume. If the source volume uses per-volume quotas, replace the source volume name with the mirror name in the quota entries.
3 Enter the following command to convert the mirror to a regular volume:
vol options volume_name snapmirrored off
If you want to enable quotas on the former mirror, go to Step 4. Otherwise, the procedure is complete.
4 Enter the following command to enable quotas on the former mirror:
quota on volume_name

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

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