VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Chapter 2, Creating and Administering Storage Pools
Removing Disks from a Storage Pool
39
Note Any disks that you add to a storage pool must have already been initialized for use, and must
belong to the same disk group as the storage pool.
If a storage pool’s autogrow policy is set to diskgroup, ISP automatically brings
additional disks from the disk group into the storage pool as required.
Removing Disks from a Storage Pool
To remove one or more disks from the storage pool, use the following command:
# vxpool [-g diskgroup] rmdisk storage_pool dm=dm1[,dm2...]
In the following example, the disks, mydg01 and mydg04, are removed from the storage pool,
ReliablePool, for use elsewhere:
# vxpool -g mydg rmdisk ReliablePool dm=mydg01,mydg04
Note You cannot remove a disk from a storage pool if any volumes are configured on that disk. To
remove such a disk, first use the vxvoladm evacute command to move the volumes
away from the disk. When you have done this, you can then remove the disk from the
storage pool.
Associating Templates with a Storage Pool
To associate one or more volume templates with a storage pool, use the vxpool
assoctemplate command as shown here:
# vxpool [-g diskgroup] assoctemplate storage_pool \
template=t1[,t2,...]
For example, the following command associates the templates Mirroring and Striping with
the storage pool, ReliablePool:
# vxpool -g mydg assoctemplate ReliablePool \
template=Mirroring,Striping
Note If the value of the selfsufficient policy is diskgroup or host, ISP first looks for
storage that complies with the templates that are associated with the storage pool, and if no
suitable templates are found, it then examines templates outside the pool.
For a list of supported templates, see “Volume Templates” on page 161.