Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
Splitting an instant snapshot hierarchy
You can split an instant snapshot hierarchy, to break the association between a
snapshot hierarchy that has the snapshot volume, and its parent volume, so that
the snapshot hierarchy may be used independently of the parent volume
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
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 124.
The following command splits the snapshot hierarchy under snap2myvol from
its parent volume:
# vxsnap -g mydg split snap2myvol
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
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
Administering instant snapshots
Creating instant snapshots
122