VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Creating a Storage Pool
36 VERITAS Storage Foundation ISP Administrator’s Guide
Creating a Storage Pool
As a alternative to the vxpool organize command described in “Organizing Storage Pools in a
Disk Group” on page 34, 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 37 for details of how to
find out the storage pool definitions that are known to the system, and “Displaying Storage Pool
Definitions” on page 37 for information on how to display a storage pool definition.
See “Storage Pools” on page 171 for a list of pre-defined storage pool types. These definitions
include default policy values, and a set of volume templates that are installed. You can add disks to
such a storage pool as described in “Adding Disks to a Storage Pool.”
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.
See “Administering Instant Snapshots” on page 73 for more information about creating and using
full-sized instant snapshots with clone storage pools.