vxsnap reattach

Reattaches and resynchronizes the snapshot volumes in the snapshot set to the original database volumes.

Note:

Make sure that the snapshot volumes are not in use before using this command.

Syntax

The vxsnap reattach command has the following syntax:

  vxsnap -x <filename> [-f][-b] reattach writer=<writername>
   [secHosts=<secondary hosts>]
Attributes

The vxsnap reattach command has the following attributes:

-x <Filename>

The file created by the vxsnap create command. Each snapshot set must have a unique name for the metadata file.

Note:

This file is deleted after the reattach operation has completed successfully.

-f

Forces the reattach. Make sure the volume is not in use by another application before using this command. Use this option with care.

-b

Resynchronizes the volume in the background. A new snapshot cannot be made until the resynchronization is complete.

writer=<writername>

Unique ID of the VSS writer, for example, "Microsoft Exchange Writer" or the GUID for the writer. If you plan to be able to do a roll-forward recovery to the point of failure, you must specify the writer.

secHosts=<secondary hosts>

Applies to Volume Replicator environment only. Comma separated list of secondary hosts on which a synchronized snapshot is to be taken.

Example

The following is an example of the vxsnap reattach command:

  vxsnap -x snapdata.xml reattach writer="Microsoft Exchange
   Writer"

This command uses the information in the snapdata.xml file to reattach and resynchronize all the volumes in the snapshot set. This xml file is deleted after the reattach operation has completed successfully. The snapshot volumes remain synchronized with the original volumes until the vxsnap create command is issued.