Prepare a volume for the creation of instant and break-off snapshots.
To prepare a volume for the creation of instant and break-off snapshots
# vxprint -g volumedg -F%instant volume
# vxprint -g volumedg -F%fastresync volume
If both commands return a value of on, the volume can be used for instant snapshot operations, and you should skip to step 3.
Otherwise continue with step 2.
# vxsnap [-g diskgroup] prepare volume [regionsize=size] \
[ndcomirs=number] [alloc=storage_attributes]
For example, to prepare the volume, myvol, in the disk group, mydg, use the following command:
# vxsnap -g mydg prepare myvol regionsize=128k ndcomirs=2 \
This example creates a DCO object and redundant DCO volume with two plexes located on disks mydg10 and mydg11, and associates them with myvol. The region size is also increased to 128KB from the default size of 64KB. The region size must be a power of 2, and be greater than or equal to 16KB. A smaller value requires more disk space for the change maps, but the finer granularity provides faster resynchronization.
vxcache command.
For full-sized instant snapshots, linked break-off snapshots and space-optimized instant snapshots, you must also create a volume for use as the snapshot volume. This volume must have the same region size as that of the volume for which the snapshot is being created. In addition, a volume that is created for use as a full-sized instant snapshot must be the same size as the volume for which the snapshot is being created.
See Creating a shared cache volume and preparing space-optimized snapshots.
See Creating a volume for use as a full-sized instant or linked break-off snapshot.
If you intend to split the clone pool that contains snapshots into separate disk groups (for example, to perform off-host processing), the clone pool must only contain fully synchronized full-sized instant snapshots (which do not require a cache volume). You cannot split off a clone pool that contains either a cache volume or space-optimized instant snapshots.