Note You must disable a disk group as described in Disabling a disk group before you can remove the last disk in that group. Alternatively, you can destroy the disk group as described in Destroying a disk group.
You can remove a disk from a system and move it to another system if the disk is failing or has failed.
To prepare your system for the removal of the disk
vxdiskadm
to mirror the volume on one or more disks, then remove the original copy of the volume. If the volumes are no longer needed, they can be removed instead of moved.
To remove the disk from its disk group
3
(Remove a disk)
from the vxdiskadm
main menu.
Use this operation to remove a disk from a disk group. This
operation takes a disk name as input. This is the same name
that you gave to the disk when you added the disk to the disk
Enter disk name [<disk>,list,q,?] mydg01
y
. Otherwise, answer n
.
VxVM NOTICE V-5-2-284 Requested operation is to remove disk
Continue with operation? [y,n,q,?] (default: y)
The vxdiskadm
utility removes the disk from the disk group and displays the following success message:
VxVM INFO V-5-2-268 Removal of disk mydg01 is complete.
You can now remove the disk or leave it on your system as a replacement.
y
) or return to the vxdiskadm
main menu (n
):