Administering hot-relocation 389Making a disk available for hot-relocation useTo use vxdiskadm to exclude a disk from hot-relocation use

1Select menu item 15 (Exclude a disk from hot-relocation use) from the vxdiskadm main menu.

2At the following prompt, enter the disk media name (such as mydg01):Exclude a disk from hot-relocation use

Menu: VolumeManager/Disk/UnmarkSpareDisk

Use this operation to exclude a disk from hot-relocation use. This operation takes, as input, a disk name. This is the same name that you gave to the disk when you added the disk to the disk group.

Enter disk name [<disk>,list,q,?] mydg01

The following confirmation is displayed:

VxVM INFO V-5-2-925 Excluding mydg01 in mydg from hot- relocation use is complete.

3At 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):

Exclude another disk from hot-relocation use? [y,n,q,?] (default: n)

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 disknameTo use vxdiskadm to make a disk available for hot-relocation use

1Select menu item 16 (Make a disk available for hot-relocation use) from the vxdiskadm main menu.

2At the following prompt, enter the disk media name (such as mydg01):

Menu: VolumeManager/Disk/UnmarkSpareDisk

Use this operation to make a disk available for hot-relocation use. This only applies to disks that were previously excluded from hot-relocation use. This operation takes, as input, a disk name. This is the same name that you gave to the disk when you added the disk to the disk group.