Library Table of Contents Index Previous Next Comments

Converting a destination to a writable volume or qtree

Why to convert a destination to a writable volume  Top

You can use the snapmirror break command to convert a SnapMirror destination, with read-only status, to a writable volume or qtree. You might want to convert a destination to a writable volume or qtree to perform one of the following tasks:

Converting the destination to a writable volume or qtree lets you use data on the destination for these situations or in any other situation in which the original source is unavailable.

Preserving quota restrictions  Top

Quotas are always disabled on a SnapMirror volume destination, regardless of whether quotas are enabled on the source volume. If you try to enable quotas on a volume destination, SnapMirror displays an error message. Quotas are not disabled on SnapMirror destination qtrees.

If the source volume or qtree and the destination reside on different filers, and you want the same quota restrictions to be applied after you make the destination writable, the destination filer must have an /etc/quotas file that includes all the entries from the /etc/quotas file used by the source filer.

Converting to a writable volume or qtree  Top

To convert a destination to a writable volume or qtree, complete the following steps.

Step

Action

1

On the destination filer use the snapmirror break command to make the destination volume or qtree writable.

  • To make a destination volume writable, enter the following command on the destination filer.
    snapmirror break volume_name
    
  • To make a destination qtree writable, enter the following commands on the destination filer.
    snapmirror quiesce /vol/volume_name/qtree_name 
    
    snapmirror break /vol/volume_name/qtree_name
    
2

If you want to enable quotas on the former destination volume, carry out the following steps.

  1. Edit the /etc/quotas file on the former destination filer so that, after the conversion, the former destination includes the same quota restrictions as the source volume.

    If the original source volume uses per-volume quotas, replace the original source volume name with the former destination name in the quota entries.

  2. Enter the following command to enable quotas on the former destination:
    quota on volume_name
    
3

Consider the following optional measures:

  • If you want to stop a SnapMirror source from trying to update a broken-off destination, you can delete or comment out the entry in the /etc/snapmirror. conf file. Otherwise SnapMirror continues to try to update the destination.
  • You might also want to use the options fs_size_fixed off command to turn off the option that restricts the size of the file system on a destination volume.

    Note
    However, after you set options fs_size_fixed off, the ability of the destination and source volumes to resync is not guaranteed.

    For more information, see How snapmirror initialize matches source and destination volume size.

After using snapmirror break  Top

After using the snapmirror break command to temporarily break a SnapMirror relationship between a source and destination, you can use other SnapMirror commands to either make the break permanent or restore or redefine the SnapMirror relationship.

Library Table of Contents Index Previous Next Comments