VERITAS Volume Manager 3.5 Installation Guide (August 2002)
Preparing to Remove VxVM
72 VERITAS Volume Manager Installation Guide
Preparing to Remove VxVM
Before removing the VxVM software with swremove, you must backup your data, move
data out of VxVM control, and stop the VxVM.
Caution If you try to swremove the VxVM software from your system without doing
the following preparatory steps, you will likely lose data and leave yoursystem
in an uncertain state.
Preparatory Steps
Note If VxVM rootability has been installed using either an Ignite_UX install, or by using
vxcp_lvmroot, VxVM cannot be deinstalled until the root disk is under LVM
control. If you used vxcp_lvmroot to become VxVM rootable, then you can use the
vxres_lvmroot command to restore the root disk to LVM control.
Consider which of the following steps apply to your system, and complete them.
Note Because reorganizing your system in preparation for removing VxVM software is
complicated, it is important to do a full system backup before beginning.
◆ All file systems and other applications that use volume devices must be modified to
use the underlying disks or logical volumes, and so on.
◆ Any file systems that have been created since the VxVM was installed must be made
accessible through a disk or LVM logical volume.
◆ All data from any volumes that were created from multiple regions of storage,
including striped or spanned volumes, must be moved onto a single disk or
appropriate LVM logical volume.
◆ Any mirror copies of file systemsand other databases should be removed so that only
one copy remains, to free up as much space as possible.
◆ If any volume contains more than one plex (mirror), all but one plex should be
removed.
To display a list of all volumes, use the command:
# vxprint -Ath
To remove a named plex, use the command:
# vxplex -o rm disk plex
If any remaining plex has more than one subdisk, consolidate those subdisks into a
single subdisk. A simple way to do this is to use the commands: