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

52 Storage pools
Creating a storage pool
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 here:
# 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 here:
# 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 53.
See “Displaying storage pool definitions” on page 53.
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 191.
See “Adding disks to a storage pool” on page 55.
Note: 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
snapshots of the volumes in the data storage pool. You need only place such
snapshots in a separate clone storage pool if they need to be created using
different templates from their parent volumes, or if they are to be moved into a
different disk group.