Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Making a disk available for hot-relocation use
Free space is used automatically by hot-relocation in case spare space is not
sufficient to relocate failed subdisks. You can limit this free space usage by
hot-relocation by specifying which free disks should not be touched by
hot-relocation. If a disk was previously excluded from hot-relocation use, you can
undo the exclusion and add the disk back to the hot-relocation pool.
To make a disk available for hot-relocation use, use the following command:
# vxedit [-g diskgroup] set nohotuse=off diskname
To use vxdiskadm to make a disk available for hot-relocation use
1
Select Make a disk available for hot-relocation use from the vxdiskadm
main menu.
2
At the following prompt, enter the disk media name (such as mydg01):
Enter disk name [<disk>,list,q,?] mydg01
The following confirmation is displayed:
V-5-2-932 Making mydg01 in mydg available for hot-relocation
use is complete.
3
At the following prompt, indicate whether you want to add more disks to be
excluded from hot-relocation (y) or return to the vxdiskadm main menu (n):
Make another disk available for hot-relocation use? [y,n,q,?]
(default: n)
Configuring hot-relocation to use only spare disks
If you want VxVM to use only spare disks for hot-relocation, add the following
line to the file /etc/default/vxassist:
spare=only
If not enough storage can be located on disks marked as spare, the relocation fails.
Any free space on non-spare disks is not used.
Administering hot-relocation
Making a disk available for hot-relocation use
416