Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
Creating a cache volume and preparing the space-optimized volumes
in a single operation
Alternatively, you can use the following command to create a cache volume and
prepare the space-optimized snapshot volumes in a single operation:
# vxassist -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"
}
.
.
.
};
!!
Because of its complexity, it is recommended that you run this command as a
script.
For the examples given earlier in this section, the following command is in the
combined form:
# vxassist -M make <<!!
volumegroup {
diskgroup 'mydg'
volume 'mycache' 1g {
type cachevolume
capability 'DataMirroring(nmirs=2)'
}
volume 'mysovol' 10g {
init active
cachevolume 'cachevol'
}
Administering instant snapshots
Creating a shared cache volume and preparing space-optimized snapshots
104