Veritas Storage Foundation Intelligent Storage Provisioning 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009

Creating a storage pool
As a alternative to the vxpool organize command, you can use the vxpool create
command to define and create a storage pool, as shown in the following command
definition:
# vxpool [-g diskgroup] create storage_pool
[dm=dm1[,dm2...] \
[description="description"] \
[autogrow={1|pool}|{2|diskgroup}] \
[selfsufficient={1|pool}|{2|diskgroup}|{3|host}] \
[rules=rule [ rule ...]] \
[pooldefinition=storage_pool_definition]
For example, the following command creates the storage pool, mypool, that
contains disks mydg02 and mydg03, and associates it with the disk group, mydg:
# vxpool -g mydg create mypool dm=mydg02,mydg03 \
autogrow=diskgroup selfsufficient=pool
The autogrow policy level is set to diskgroup so the pool can use any storage
within the disk group. The selfsufficient policy level of pool only allows the
use of templates that have been manually assigned to the storage pool.
To simplify pool creation, you can also create a storage pool from a storage pool
definition that is known to the system, as shown in the following command:
# vxpool -g mydg create mypool pooldefinition=mirrored_volumes
Such definitions standardize storage pool policies and the templates that are to
be associated with storage pools.
See Listing available storage pool definitions on page 52.
See Displaying storage pool definitions on page 52.
The pre-defined storage pool types include default policy values, and a set of
volume templates that are installed. You can add disks to such storage pools.
See Storage pool on page 202.
See Adding disks to a storage pool on page 54.
The disks that you assign to a storage pool must have already been initialized for
use, and must belong to the disk group in which you are creating the storage pool
The first storage pool that you create in a disk group is a data storage pool that
contains application volumes. Any storage pools that you subsequently create in
the disk group are clone storage pools that can be used to hold full-sized instant
51Storage pools
Creating a storage pool