Reattaching the snapshot volumes back to the data volumes in an RVG

Use the vxrvg snapback command to reattach the snapshots back to the data volumes under an RVG. This command can be used from the Primary as well as the Secondary RVG. You can either choose to snapback specific snapshot volumes by using the -P <prefix> option or you can reattach all the snapshots of all the data volumes in the RVG using the -a option. The -P and -a options are mutually exclusive.

Note:

A valid license for Storage Foundation FlashSnap feature must be present on all the systems on which you want to use the snapshot operations. For more information about the FlashSnap feature refer to the Storage Foundation Administrator's Guide.

The -o option can be used if you want the original volume to be synchronized with the contents of the snapshot volume. In this case after synchronization the original volume has the contents of the snapshot volume. By default, the contents of the original volumes are retained after snapback.

The -f option can be used to forcefully snapback the snapshot volumes even if the original volumes are in use.

Note:

After the snapback operation is performed the data volumes contain its original contents or the contents of the snapshot volumes depending on whether the Resync from replica option is selected.

Syntax for vxrvg snapback command

vxrvg [-g <diskgroup>] [-o resyncfromreplica] [-f] 
[-P <prefix>    | -a] snapback <rvg>

Example

vxrvg -g vvrdg -a snapback rvg

or

vxrvg -g vvrdg -P snap snapback rvg

More Information

Understanding Volume Replicator support for FlashSnap