Use the following procedure to uninstall Storage Foundation using the pkgrm command.
If you are uninstalling Veritas Storage Foundation using the pkgrm command, the packages must be removed in a specific order, or else the uninstallation will fail. Removing the packages out of order will result in some errors, including possible core dumps, although the packages will still be removed.
To uninstall Storage Foundation
Comment out or remove any Veritas File System (VxFS) entries from the file system table /etc/vfstab. Failing to remove these entries could result in system boot problems later.
# umount /mount_point
# /opt/VRTS/bin/vxsvcctrl stop
# # pkgrm VRTSodm VRTSgms VRTScavf VRTSglm VRTSdbed \ VRTSvcsea VRTSvcsag VRTScps VRTSvcs VRTSamf \ VRTSvxfen VRTSgab VRTSllt VRTSfssdk VRTSfsadv \ VRTSvxfs VRTSsfmh VRTSob VRTSaslapm VRTSvxvm \ VRTSspt VRTSsfcpi60 VRTSperl VRTSvlic