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
|