Linked break-off snapshots are the only form of volume snapshot that can be used to implement offhost processing for ISP volumes as described in the Veritas Storage Foundation Intelligent Storage Provisioning Solutions Guide. They are also the most suitable type of snapshot to use with write-intensive volumes, such as database redo logs.
For linked break-off snapshots, you must prepare a volume that is to be used as the snapshot volume. This must be the same size as the volume for which the snapshot is being created, and it must also have the same region size.
See Creating a volume for use as a full-sized instant or linked break-off snapshot.
The attributes for a snapshot are specified as a tuple to the vxsnap make command. This command accepts multiple tuples; one for each snapshot that is being created. Each element of a tuple is separated from the next by a slash character (/). Tuples are separated by white space.
To create and manage a linked break-off snapshot
# vxsnap [-g diskgroup] [-b] addmir volume mirvol=snapvol \
The optional mirdg attribute can be used to specify the snapshot volume's current disk group, snapdg. The -b option can be used to perform the synchronization in the background. If the -b option is not specified, the command does not return until the link becomes ACTIVE.
For example, the following command links the prepared volume, prepsnap, in the disk group, mysnapdg, to the volume, vol1, in the disk group, mydg:
# vxsnap -g mydg -b addmir vol1 mirvol=prepsnap \
After the -b option is specified, you can use the vxsnap snapwait in the next command to wait for the synchronization of the snapshot plexes or linked snapshot volume to complete, as shown in the following example:
vxsnap make command:
The snapdg attribute must be used to specify the snapshot volume's disk group if this is different from that of the data volume.
For example, to use the prepared volume, prepsnap, as the snapshot for the volume, vol1, in the disk group, mydg, use the following command:
source=vol1/snapvol=prepsnap/snapdg=mysnapdg
fsck (or some utility appropriate for the application running on the volume) to clean the temporary volume's contents.
For example, you can use the following command with a VxFS file system:
See Refreshing an instant snapshot.
This operation is not possible if the linked volume and snapshot are in different disk groups.