Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Table A-7
Administering volumes (continued)
DescriptionCommand
Creates a cache object for use by
space-optimized instant snapshots.
For information about snapshots, see
the Veritas Storage Foundation
Advanced Features Administrator's
Guide.
A cache volume must have already been
created. After creating the cache object,
enable the cache object with the
vxcache start command.
For example:
# vxassist -g mydg make \
cvol 1g layout=mirror \
init=active mydg16 mydg17
# vxmake -g mydg cache cobj \
cachevolname=cvol
# vxcache -g mydg start cobj
vxmake [-g diskgroup] cache \
cache_object cachevolname=volume \
[regionsize=size]
Takes a space-optimized instant
snapshot of a volume.
For information about creating
snapshots, see the Veritas Storage
Foundation Advanced Features
Administrator's Guide.
Example:
# vxsnap -g mydg make \
source=myvol/\
newvol=mysosvol/\
cache=cobj
vxsnap [-g diskgroup] make \
source=volume/newvol=snapvol\
/cache=cache_object
Using Veritas Volume Manager commands
About Veritas Volume Manager commands
532