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 [-g diskgroup] set spare=off diskname
where diskname is the disk media name.
For example, to make mydg01 available for normal use in the disk group, mydg, use the following command:
# vxedit -g mydg set spare=off mydg01
To use vxdiskadm to remove a disk from the hot-relocation pool
Enter disk name [<disk>,list,q,?] mydg01
The following confirmation is displayed:
VxVM NOTICE V-5-2-143 Disk mydg01 in mydg no longer marked as a spare disk.
Turn off spare flag on another disk? [y,n,q,?] (default: n)