Reattaching the snapshot plexes to the data volumes (Snapback)

The snapback operation reattaches a snapshot volume with the original volume. After working with the snapshot volumes, reattach them to the data volumes in the RVG. The snapback operation may take a long time to complete because it performs a complete resynchronization of the snapshot plexes.

To perform a faster and more efficient snapback operation, use the traditional snapshot features.

See Using the traditional snapshot feature.

The vxrvg snapback command snaps back, that is, it reattaches the snapshot plexes to their respective data volumes in the RVG.

You can use the default action of the vxrvg snapback command if the data volumes in the RVG have one snapshot. If the data volumes have more than one snapshot plex, use the -a option with the vxrvg snapback command to reattach all snapshots; the -a option snaps back all the plexes to their original data volumes. For example, use the -a option to reattach the snapshot volumes june-dv_name and july-dv_name to each data volume dv_name in the RVG.

The -P option to the vxrvg snapback command enables you to reattach a specified snapshot. To reattach all the data volumes with the prefix month in their names, specify the prefix month using the -P option.

For data volumes with single snapshot plexes in an RVG, snapback using the following command:

# vxrvg -g diskgroup snapback rvg_name

To snapback all plexes for each data volume in an RVG, use the following command:

# vxrvg -g diskgroup -a snapback rvg_name

All the snapshot plexes are snapped back to their original data volumes in the RVG rvg_name.

To snapback snapshot plexes with a specific prefix for all data volumes in an RVG, use the following command:

# vxrvg -g diskgroup -P june snapback rvg_name

Snapshot plexes with the name june-dv_name are snapped back to their original data volumes in the RVG.

To snapback a plex to a specific data volume in an RVG, use the following command:

# vxassist -g diskgroup snapback SNAP-dv_name

For more information on using the vxassist snapback command, see the Symantec Storage Foundation Administrator's Guide.