Veritas 5.0 Installation Guide (September 2006)

Removing VxFS 5.0 and VxVM 5.0
Chapter 644
where vgvol is a newly created LVM volume group and lhome is a new logical
volume.
f. Replace the entry (if any) for the volume in /etc/fstab file with an entry for
the newly created LVM logical volume.
g. Mount the logical volume only if the VxVM volume was mounted before.
h. Run the following command to remove the volume from Veritas Volume
Manager control:
# vxedit -rf rm volume_name
i. Run the following command, to check whether any sub-disks remain on a disk:
# vxprint -F “%sdnum” diskname
If the output is 0, remove the disk from Volume Manager control:
# vxdg rmdisk diskname
# vxdisk rm devname
If the output is not 0, remove sub-disks from the disk and then remove the disk.
j. Copy the data in the next volume to be removed to the newly created free space.
k. Reboot the system after all volumes have been converted successfully.
l. To verify that no open volumes remain on the system, enter the following
command:
# vxprint -Aht -e v_open
m. If any volumes remain open, repeat steps a to l.
Shutting Down VxVM
To shut down the VxVM, enter the following:
# vxdctl stop
# vxiod -f set 0