There are two methods for this. The preferable choice is to use the command "vxunroot". If you can't do this for some reason, or you need to repair a system that has crashed, you can manually un-encapsulate the disk using the following steps:
1) Boot off the cdrom
# boot cdrom -sw
2) Mount the root file system. Your root slice could be different.
# mount /dev/dsk/c0t0d0s0 /a
3) Edit /a/etc/system
Using "*" comment out the lines between VXVM BEGIN and VXVM END
NOTE: There might be a file /a/etc/system.prevm
That could be used. The lines look like the following:
*rootdev:/pseudo/vxio@0:0
*set vxio:vol_rootdev_is_volume=1
4) Edit /a/etc/vfstab
Need to comment out the line that references the Volume Manager volumes.
NOTE: There might be a file /a/etc/vfstab.prevm
4a) Using the information in the vfstab file change the root device to system
root disk. ie.
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
There are lines within the vfstab starting with "NOTE:" that
indicates the original boot device. Use this information to recreate the
original vfstab file.
There are line similar to this:
#NOTE: volume rootvol (/) encapsulated partition c0t0d0s0
4b) Do the same thing for the other encapsulated volumes (ie. /usr , /opt,
..etc)
5) Unmount /a, and reboot. |