344Administering volume snapshots

Creating instant snapshots

See the vxsnap(1M) manual page for more information about using the vxsnap print and vxsnap list commands.

Controlling instant snapshot synchronization

Note: Synchronization of the contents of a snapshot with its original volume is not possible for space-optimized instant snapshots.

The commands in this section cannot be used to control the synchronization of linked break-off snapshots.

By default, synchronization is enabled for the vxsnap reattach, refresh and restore operations on instant snapshots. Otherwise, synchronization is disabled unless you specify the syncing=yes attribute to the vxsnap command.

The following table shows the commands that are provided for controlling the synchronization manually.

Command

Description

 

 

vxsnap [-g diskgroup] syncpause volvol_set

Pause synchronization of a volume.

 

 

vxsnap [-g diskgroup] syncresume \

Resume synchronization of a

volvol_set

volume.

 

 

vxsnap [-b] [-g diskgroup] syncstart \

Start synchronization of a volume.

volvol_set

The -boption puts the operation

 

in the background.

 

 

vxsnap [-g diskgroup] syncstop volvol_set

Stop synchronization of a volume.

 

 

vxsnap [-g diskgroup] syncwait volvol_set

Exit when synchronization of a

 

volume is complete. An error is

 

returned if vol is invalid (for

 

example, it is a space-optimized

 

snapshot), or if vol is not being

 

synchronized.

 

Note: You cannot use this

 

command to wait for

 

synchronization of reattached

 

plexes to complete.

 

 

The vxsnap snapwait command is provided to wait for the link between new linked break-off snapshots to become ACTIVE, or for reattached snapshot plexes to reach the SNAPDONE state following resynchronization. See Creating and managing linked break-off snapshot volumes” on page 331, “Reattaching an