VERITAS Volume Manager 3.5 Troubleshooting Guide (August 2002)
Chapter 2, Recovery from Boot Disk Failure
Correcting Boot Problems in VxVM Maintenance Mode
21
When this happens, the root volume can usually be repaired by using the following
command:
# vxvol -g rootdg -f start rootvol
If the root volume is mirrored, recovery is started. Wait until recovery completes and the
command exits. Then run the fsck command and mount the root file system as shown
here:
# fsck -F vxfs -o full /dev/vx/rdsk/rootdg/rootvol
# mkdir /tmp_mnt
# mount -F vxfs /dev/vx/dsk/rootdg/rootvol /tmp_mnt
Thefollowing formof thevx_emerg_start command combinesall theseoperations ina
single command torecoverthe root volume andits mirrors, check the rootfile system,and
mount it:
# vx_emerg_start -m hostname
When you have recovered the volumes on the VxVM root disk, and performed any other
necessary repairs, reboot the system:
# reboot
Correcting Boot Problems in VxVM Maintenance Mode
A bootable VxVM root disk is made up of VxVM volumes containing the swap area and
file systems including root and stand. VxVM maintenance mode is intended for use on
a system with a bootable VxVM root disk where booting has failed due to problems in
starting the VxVM configuration daemon (vxconfigd). On such a system, you must
resolve the problem in VxVM maintenance mode before performing a standard system
boot.
Note VxVM maintenance mode performs the same function for VxVM as LVM
maintenance mode does for LVM.
Booting your system to VxVM maintenance mode prevents vxconfigd from being
startedduring system initialization.The systemis additionallyplaced insingle-user mode
with only the root file system mounted.