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
[autogrow={1|pool}|{2|diskgroup}] \
[selfsufficient={1|pool}|{2|diskgroup}|{3|host}] \
[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.
See Displaying storage pool definitions.
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.
See Adding disks to a storage pool.
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.