Once a volume is no longer necessary (it is inactive and its contents have been archived, for example), it is possible to remove the volume and free up the disk space for other uses.
To stop all activity on a volume before removing it
/etc/vfstab
file, remove its entry by editing this file. Refer to your operating system documentation for more information about the format of this file and how you can modify it.
After following these steps, remove the volume with the vxassist
command:
# vxassist [-g
diskgroup
] remove volume
volume
Alternatively, you can use the vxedit
command to remove a volume:
# vxedit [-g
diskgroup
] [-r] [-f] rm
volume
The -r
option to vxedit
indicates recursive removal. This removes all plexes associated with the volume and all subdisks associated with those plexes. The -f
option to vxedit
forces removal. This is necessary if the volume is still enabled.