VERITAS Volume Manager 3.5 Administrator's Guide (September 2002)
Excluding a Disk from Hot-Relocation Use
236 VERITAS Volume Manager Administrator’s Guide
Alternatively, you can use vxdiskadm to remove a disk from the hot-relocation pool:
1. Select menu item 12 (Turn off the spare flag on a disk) from the
vxdiskadm main menu.
2. At the following prompt, enter the name of a spare disk (such as disk01):
Menu: VolumeManager/Disk/UnmarkSpareDisk
Use this operation to turn off the spare flag on a disk.
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,?] disk01
The vxdiskadm program displays the following confirmation:
Disk disk01 in rootdg no longer marked as a spare disk.
3. At the following prompt, indicate whether you want to disable more spare disks (y)
or return to the vxdiskadm main menu (n):
Turn-off spare flag on another disk? [y,n,q,?] (default: n)
Excluding a Disk from Hot-Relocation Use
To exclude a disk from hot-relocation use, use the following command:
# vxedit -g disk_group set nohotuse=on diskname
Alternatively, using vxdiskadm:
1. Select menu item 15 (Exclude a disk from hot-relocation use) from the
vxdiskadm main menu.
2. At the following prompt, enter the disk name (such as disk01):
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,?] disk01