Veritas Volume Manager 4.1 Administrator's Guide (HP-UX 11i v3, February 2007)
Creating Instant Snapshots
290 VERITAS Volume Manager Administrator’s Guide
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.
Removing an Instant Snapshot
When you have dissociated a full-sized instant snapshot, you can use the vxedit
command to delete it altogether, as shown in this example:
# vxedit -g mydg -r rm snap2myvol
You can also use this command to remove a space-optimized instant snapshot from its
cache. For details of how to remove a cache, see “Removing a Cache” on page 298.
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 snapvolume|snapvolume_set
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 292 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.