VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide
Changing the Policies on a Storage Pool
42 VERITAS Storage Foundation ISP Administrator’s Guide
Changing the Policies on a Storage Pool
By default, Storage Allocator sets the values of the autogrow policy to diskgroup, and the
selfsufficient policy to pool. To change the policies that are set on a storage pool, use the
vxpool setpolicy command:
# vxpool [-g diskgroup] setpolicy storage_pool \
[autogrow={1|pool}|{2|diskgroup}] \
[selfsufficient={1|pool}|{2|diskgroup}|{3|host}]
The existing pool policies are overwritten by the new levels that you set.
In the following example, the policies on the storage pool, mypool, are changed to disallow the
use of storage resources from outside the storage pool, and to allow all available templates to be
considered for use when creating volumes:
# vxpool -g mydg setpolicy mypool autogrow=pool \
selfsufficient=host
Listing Storage Pools Within a Disk Group
To display a list of all storage pools within a disk group, use the vxpool list command as shown
here:
# vxpool [-g diskgroup] list
For example, the following command lists all the storage pools within the disk group, mydg:
# vxpool -g mydg list
Renaming a Storage Pool
To rename a storage pool, use the following command:
# vxpool [-g diskgroup] rename storage_pool new_name
For example, to rename the storage pool, mypool, as ReliablePool, you would use the
following command:
# vxpool -g mydg rename mypool ReliablePool
Deleting a Storage Pool
To delete a storage pool, use the following command:
# vxpool [-g diskgroup] [-r] delete storage_pool