Symantec logo

Reserving and unreserving disks for use with ISP

When you initialize a disk for use with VxVM, for example, by running the vxdiskadm command, both ISP and non-ISP utilities have access to the space on the disk. You can reserve a disk for use with either set of utilities by setting the values of the allocator_reserved and allocator_nouse flags for the disk.

To reserve disks for exclusive use with ISP, and prevent non-ISP utilities from using these disks, select the following menu item from the main menu of the vxdiskadm command:

23 Mark a disk as ISP-reserved for a disk group

Alternatively, you can use the following command to reserve a disk specified by its disk media name for use with ISP:

# vxedit [-g diskgroup] set "allocator_reserved=on" diskname

A disk that is to be reserved for ISP must not contain any existing VxVM subdisks.

To remove the reservation flag from disks, select the following menu item from the main menu of the vxdiskadm command:

24 Turn off the allocator-reserved flag on a disk

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

The flags allocator_reserved and allocator_nouse parameters 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

c0t8d0s2 auto:cdsdisk mydg1 mydg online allocrsvd

# vxprint -g mydg mydg1

TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0

dm mydg1 c0t8d0s2 - 35365968 - ALLOC_RES - -

The allocrsvd status flag and the ALLOC_RES state indicate that a disk is reserved for use with ISP.