Previous  |  Next  >  
Product: Storage Foundation Guides   
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide   

Creating a Storage Pool

As a alternative to the vxpool organize command described in Organizing Storage Pools in a Disk Group, 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 for details of how to find out the storage pool definitions that are known to the system, and Displaying Storage Pool Definitions for information on how to display a storage pool definition.

See Storage Pools 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   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 for more information about creating and using full-sized instant snapshots with clone storage pools.

Listing Available Storage Pool Definitions

To list all the available storage pool definitions, use the following command:


vxpool listpooldefinitions

For a list of supported storage pool definitions, see Storage Pools.

To display the details of a storage pool definition, see Displaying Storage Pool Definitions.

Displaying Storage Pool Definitions

To display the details of one or more storage pool definitions, use the following command:


vxpool printpooldefinitions [storage_pool_definition] ...

If no storage pool definitions are named, the definitions for all storage pools are displayed.

For example, the following command displays the definition of the storage pool, mirrored_volumes:


vxpool printpooldefinitions mirrored_volumes
storage_pool mirrored_volumes {
   description "Volume has multiple copies of data."
   descriptionid "{b84f1c64-1dd1-11b2-8b42-080020feef8b}", 117
   display_name "Data Mirroring"
   display_name_id "{b84f1c64-1dd1-11b2-8b42-080020feef8b}", 116
   volume_templates ArrayProductId, ConfineLogsToSimilarStorage,
   ConfineMirrorsToSimilarStorage, ConfineToSimilarStorage,
   ConfineToSpecificStorage, DCOLogMirroring, DCOLogStriping,
   DataMirroring, ExcludeSpecificStorage,
   InstantSnapshottable, LogsOnSeparateComponents,
   MirrorsOnSeparateComponents, MultipathingThroughMultiplePaths
   autogrow 2
   selfsufficient 1
};
 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation Guides  
Manual: Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide  
VERITAS Software Corporation
www.veritas.com