![]() |
![]() |
![]() |
![]() |
![]() |
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
13 (Turn off the spare flag on a disk)
from the vxdiskadm
main menu.
mydg01
):
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
The following confirmation is displayed:
VxVM NOTICE V-5-2-143 Disk mydg01 in mydg no longer marked as
y
) or return to the vxdiskadm
main menu (n
):