In the example below, the server pegasus has two internal disks (c0t0d0 and c0t1d0) under Veritas Volume Manager control. The operating system is mirrored between the two devices.
# vi /a/etc/system The system must not boot from the Veritas volumes. You can either delete the following two lines or change them from: rootdev:/pseudo/vxio@0:0 set vxio:vol_rootdev_is_volume=1 to: * rootdev:/pseudo/vxio@0:0 * set vxio:vol_rootdev_is_volume=1 |
# touch /a/etc/vx/reconfig.d/state.d/install-db |
# rm /a/etc/vx/reconfig.d/state.d/root-done |
At this point, the operating system is no longer under Veritas Volume Manager control. The disk c0t1d0 is unused, and the system would not survive the failure of c0t0d0 if it were to die now.
Note that even though the operating system is no longer under system control, in some cases you might wish to continue running Veritas volume manager for non-os volumes. In this situation a few additional steps are required:
# rm /etc/vx/reconfig.d/state.d/install-db # vxiod set 10 # vxconfigd -m disable # vxdctl enable |
# vxedit -rf rm rootvol swapvol var |
# vxdg rmdisk rootdisk |
At this point the root disk c0t0d0 is completely free of VxVM, but any other Veritas volumes can be brought online and mounted if required.