Previous  |  Next  >  
Product: Volume Manager Guides   
Manual: Volume Manager 4.1 Administrator's Guide   

Administering Volume Snapshots

VERITAS Volume Manager (VxVM) provides the capability for taking an image of a volume at a given point in time. Such an image is referred to as a volume snapshot. You can also take a snapshot of a volume set as described in Creating Instant Snapshots of Volume Sets.

Volume snapshots allow you to make backup copies of your volumes online with minimal interruption to users. You can then use the backup copies to restore data that has been lost due to disk failure, software errors or human mistakes, or to create replica volumes for the purposes of report generation, application development, or testing.

For an introduction to the volume snapshot feature, see Volume Snapshots. More detailed descriptions of each type of volume snapshot and the operations that you can perform on them may be found in the following sections:

  • Traditional Third-Mirror Break-Off Snapshots
  • Full-Sized Instant Snapshots
  • Space-Optimized Instant Snapshots
  • Emulation of Third-Mirror Break-Off Snapshots
  • Cascaded Snapshots
  • Creating Multiple Snapshots
  • Restoring the Original Volume from a Snapshot

  • Note   Note    A volume snapshot represents the data that exists in a volume at a given point in time. As such, VxVM does not have any knowledge of data that is cached by the overlying file system, or by applications such as databases that have files open in the file system. If the fsgen volume usage type is set on a volume that contains a VERITAS File System (VxFS), intent logging of the file system metadata ensures the internal consistency of the file system that is backed up. For other file system types, depending on the intent logging capabilities of the file system, there may potentially be inconsistencies between data in memory and in the snapshot image.

    For databases, a suitable mechanism must additionally be used to ensure the integrity of tablespace data when the volume snapshot is taken. The facility to temporarily suspend file system I/O is provided by most modern database software. For ordinary files in a file system, which may be open to a wide variety of different applications, there may be no way to ensure the complete integrity of the file data other than by shutting down the applications and temporarily unmounting the file system. In many cases, it may only be important to ensure the integrity of file data that is not in active use at the time that you take the snapshot.

Methods of creating volume snapshots are described in the following sections:

For details of how to use volume snapshots to implement off-host online backup, see Configuring Off-Host Processing.


Note   Note    Snapshot creation using the vxsnap command is the preferred mechanism for implementing online and off-host point-in-time copy solutions in VxVM. Support for traditional third-mirror snapshots that are created using the vxassist command may be removed in a future release.

Most VxVM commands require superuser or equivalent privileges.

Full details of how to recover from failures of instant snapshot commands may be found in the "Recovery from Failure of Instant Snapshot Operations'' chapter of the VERITAS Volume Manager Troubleshooting Guide.

 ^ Return to Top Previous  |  Next  >  
Product: Volume Manager Guides  
Manual: Volume Manager 4.1 Administrator's Guide  
VERITAS Software Corporation
www.veritas.com