VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Organizing Storage Pools in a Disk Group
34 VERITAS Storage Foundation ISP Administrators Guide
# vxedit [-g diskgroup] set "allocator_reserved=off" diskname
To prevent a disk from being used by ISP, enter the following command:
# vxedit [-g diskgroup] set "allocator_nouse=on" diskname
The following command removes the restriction on ISP using a disk:
# vxedit [-g diskgroup] set "allocator_nouse=off" diskname
Note The flags allocator_reserved and allocator_nouse are mutually exclusive.
Their values cannot both be set to on for a disk.
You can use the vxdisk list and vxprint commands to tell whether a disk has been reserved
for ISP, as shown in the following examples:
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t8d0 auto:cdsdisk mydg1 mydg online allocrsvd
# vxprint -g mydg mydg1
TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dm mydg1 c0t8d0 - 35365968- ALLOC_RES - -
The allocrsvd status flag and the ALLOC_RES state indicate that a disk is reserved for use with
ISP.
Organizing Storage Pools in a Disk Group
Before you can use ISP to create volumes in a disk group, you must first create any storage pools
that you require in that disk group. A storage pool has associated disks, templates and policies.
These policies control how the disks and templates are used when allocating storage from the pool
to volumes.
The vxpool organize command simplifies the initial creation of one or more pools in a disk
group by using a storage pool set definition. You can use this command to create a set of pools with
policies and templates that are designed for a variety of different applications. A storage pool set
consists of one data pool definition and one or more clone pool definitions. Each of these pool
definition typically consists of the pool type, the templates that the pool contains, and the pool
policies. See “Listing Storage Pool Sets” and “Displaying Storage Pool Set Definitions” on page 35
for details of how to find out what storage pool sets are available for use. See “Using Disk Group
Split and Join with Storage Pools” on page 38 for details of how data and clone pools are typically
used with the disk group split and join feature of VxVM.
For example, if you want your data volumes to be mirrored for redundancy, and your snapshot
volumes to be striped for performance, you can choose a storage pool set definition where the data
pool has associated templates that relate to mirroring, and the clone pool has associated templates