Reserving Disks
By default, the vxassist command allocates space from any disk that has free space. You can reserve a set of disks for special purposes, such as to avoid general use of a particularly slow or a particularly fast disk.
To reserve a disk for special purposes, use the following command:
# vxedit [-g diskgroup] set reserve=on diskname
After you enter this command, the vxassist program does not allocate space from the selected disk unless that disk is specifically mentioned on the vxassist command line. For example, if mydg03 is reserved, use the following command:
# vxassist [-g diskgroup] make vol03 20m mydg03
The vxassist command overrides the reservation and creates a 20 megabyte volume on mydg03. However, the command:
# vxassist -g mydg make vol04 20m
does not use mydg03, even if there is no free space on any other disk.
To turn off reservation of a disk, use the following command:
# vxedit [-g diskgroup] set reserve=off diskname
See the vxedit(1M) manual page for more information.
|