VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Creating a Shared Cache Volume and Preparing Space-Optimized Snapshots
78 VERITAS Storage Foundation ISP Administrators Guide
Once created, such a volume is ready for use to take a space-optimized instant snapshot.
Alternatively, you can use the following command to create a cache volume and prepare the
space-optimized snapshot volumes in a single operation:
# vxvoladm -M make <<!!
volumegroup {
diskgroup "diskgroup"
volume "cachevol" cache_size {
type cachevolume
[storage_specification]
[regionsize size]
}
volume "sovol1" vol1_size {
init active
cachevolume "cachevol"
}
volume "sovol2" vol2_size {
init active
cachevolume "cachevol"
}
.
.
.
};
!!
Note Because of its complexity, it is recommended that you run this command as a script.
For the examples given earlier in this section, the combined form of the command would be:
# vxvoladm -M make <<!!
volumegroup {
diskgroup "mydg"
volume "mycache" 1g {
type cachevolume
capability ’DataMirroring(nmirs=2)’
}
volume "mysovol" 10g {
init active
cachevolume "cachevol"
}
};
!!