You must disable a disk group before you can remove the last disk in that group.
See "Disabling a disk group" on page 217.
As an alternative to disabling the disk group, you can destroy the disk group.
See "Destroying a disk group" on page 217.
You can remove a disk from a system and move it to another system if the disk is failing or has failed.
To remove a disk
vxvol [-g diskgroup
] stop volume1
vxdiskadmto 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.
(Remove a disk)from the
Remove a disk
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,?]
y. Otherwise, answer
VxVM NOTICE V-5-2-284 Requested operation is to remove disk
mydg01 from group mydg.
Continue with operation? [y,n,q,?] (default: y)
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
vxdiskadmmain menu (
Remove another disk? [y,n,q,?] (default: n)