Veritas Storage Foundation Intelligent Storage Provisioning 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008
50 Storage pools
Organizing storage pools in a disk group
Note: A disk that is to be reserved for ISP must not contain any existing VxVM
subdisks.
To remove the reservation flag from disks, select menu item 23 Turn off the
allocator-reserved flag on a disk from the main menu of the
vxdiskadm command. Alternatively, you can use the following command to
remove ISP reservation from a disk specified by its disk media name:
# 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
TYNAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0
dmmydg1 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
definitions typically consists of the pool type, the templates that the pool
contains, and the pool policies.