Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

101Administering instant snapshots
Creating instant snapshots
Removing a cache
To remove a cache completely, including the cache object, its cache volume
and all space-optimized snapshots that use the cache
1 Run the following command to find out the names of the top-level snapshot
volumes that are configured on the cache object:
# vxprint -g
diskgroup
-vne \
"v_plex.pl_subdisk.sd_dm_name ~ /
cache_object
/"
where cache_object is the name of the cache object.
2 Remove all the top-level snapshots and their dependent snapshots (this can
be done with a single command):
# vxedit -g
diskgroup
-r rm
snapvol ...
where snapvol is the name of a top-level snapshot volume.
3 Stop the cache object:
# vxcache -g
diskgroup
stop
cache_object
4 Finally, remove the cache object and its cache volume:
# vxedit -g
diskgroup
-r rm
cache_object
Creating instant snapshots
Note: Instant snapshots of ISP application volumes in a disk group’s data pool
are best created in clone pools that are also associated with the same disk group.
A snapshot of a snapshot does not have to be in the same clone pool as its
parent.
Volume sets can be used in place of volumes with the following
vxsnap
operations on instant snapshots:
addmir, dis, make, prepare, reattach,
refresh, restore, rmmir, split, syncpause, syncresume, syncstart, syncstop,
syncwait, and unprepare. A snapshot of a volume set must itself be a volume
set. A full-sized instant snapshot of a volume set can be created using a prepared
volume set. You cannot use the nmirrors or plex attributes to specify that
existing plexes are to be broken off. See the chapter “Creating and
Administering Volume Sets” in the Veritas Volume Manager Administrator’s
Guide for more information on creating volume sets.
Note: You may need an additional license to use this feature.
VxVM allows you to make instant snapshots of volumes by using the
vxsnap
command.