VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Creating Instant Snapshots
90 VERITAS Storage Foundation ISP Administrator’s Guide
Splitting an Instant Snapshot Hierarchy (vxsnap split)
Note This operation is not supported for space-optimized instant snapshots.
The following command breaks the association between a snapshot hierarchy that has the snapshot
volume, snapvol, at its head, and its parent volume, so that the snapshot hierarchy may be used
independently of the parent volume:
# vxsnap [-f] [-g diskgroup] split snapvol
Note The topmost snapshot volume in the hierarchy must have been fully synchronized for this
command to succeed. Snapshots that are lower down in the hierarchy need not have been
fully resynchronized. See “Controlling Instant Snapshot Synchronization” on page 92 for
more information.
The following command splits the snapshot hierarchy under snap2myvol from its parent
volume:
# vxsnap -g mydg split snap2myvol
Note When applied to a volume set or to a component volume of a volume set, this operation can
result in inconsistencies in the snapshot hierarchy in the case of a system crash or hardware
failure. If the operation is applied to a volume set, the -f (force) option must be specified.
Displaying Instant Snapshot Information (vxsnap print)
The vxsnap print command may be used to display information about the snapshots that are
associated with a volume.
# vxsnap [-g diskgroup] print [vol]
This command shows the percentage progress of the synchronization of a snapshot or volume. If no
volume is specified, information about the snapshots for all the volumes in a disk group is
displayed.
The following example shows a volume, vol1, which has a full-sized snapshot, snapvol1
whose contents have not been synchronized with vol1:
# vxsnap -g mydg print
NAME SNAPOBJECT TYPE PARENT SNAPSHOT %DIRTY %VALID
vol1 -- volume -- -- -- 100
snapvol1_snp1 volume -- snapvol1 1.30 --
snapvol1 vol1_snp1 volume vol1 -- 1.30 1.30