VERITAS Volume Manager 4.1 Administrator's Guide

Administering Hot-Relocation
Removing a Disk from Use as a Hot-Relocation Spare
Chapter 9338
Removing a Disk from Use as a Hot-Relocation
Spare
While a disk is designated as a spare, the space on that disk is not used
for the creation of VxVM objects within its disk group. If necessary, you
can free a spare disk for general use by removing it from the pool of
hot-relocation disks.
To remove a spare from the hot-relocation pool, use the following
command:
# vxedit set spare=off diskname
For example, to make disk01 available for normal use, use the following
command:
# vxedit set spare=off disk01
Alternatively, you can use vxdiskadm to remove a disk from the
hot-relocation pool:
Step 1. Select menu item (Turn off the spare flag on a disk) from the vxdiskadm
main menu.
Step 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.
Step 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)