<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Transitional//EN">
<HTML>
<HEAD>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

      For third-party license citations, please see the bottom of this file.
    *************************************************************************************
  -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="TEMPLATEBASE" content="DocCD Manual Pages 1.4">
<meta name="LASTUPDATED" content="06/13/05 11:53:46">
<meta name="PRODUCTNAME" content="VERITAS Software Documentation">
<meta name="FILENAME" content="vx_emerg_start.fm">
     
<title>vx_emerg_start</title>

</HEAD>

<BODY bgcolor="#FFFFFF" link="#000066" vlink="#0000ff" marginheight="0" topmargin="0">
<basefont=1>

<a name="427683"></a>

<div align="left">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
   <td height="2" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#000000">
   </td>
 </tr>
 <tr>
   <td height="15" width="50%" border="0" cellspacing="0" cellpadding="0" bgcolor="#cccccc">
    <img src="images/vxsymbol.gif" height="20" width="31" border="0" cellspacing="0" cellpadding="0" align="left">
     
     
   </td>
   <td align="right" width="50%" bgcolor="#cccccc">

<!-- Header Breadcrumbs -->
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="vrstat_vxvm_manpages10_427317.html" title="Previous - vrstat">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="vxadm_vxvm_manpages12_429622.html" title="Next - vxadm">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
   </td>
 </tr>

 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxvm_manpages_splashpage_docCD_vxvm_manpages1_103036.vxhd" title="Volume Manager Manual Pages for Storage Foundation title page ">Volume Manager Manual Pages for Storage Foundation</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>
 <tr>
  <td bgcolor="#CCCCCC" colspan="2" height="15" align="right">
  <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="man1m_titlepage_docCD_vxvm_manpages2_73700.vxhd" title="Maintenance Commands (1m) title page ">Maintenance Commands (1m)</a>
  &nbsp;&nbsp;
  </font>
  </td>
 </tr>


</table>
</div>

<div align="left">
 <table border="0" width="100%" bgcolor="#FFFFFF">
  <tr>
   <td width="100%" valign="top" bgcolor="#FFFFFF">

<!-- Start Main Topic Content -->
        <a name="startcontent"></a>
	
<h2><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="3" color="#000000"><a name="426967"></a>vx_emerg_start</font>
</h2>

        

<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="426997"></a> NAME</font>
</h3>
<p>
<a name="427002"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">vx_emerg_start - start VERITAS Volume Manager from recovery media </font>
</p>

<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="427005"></a> SYNOPSIS</font>
</h3>
<br>
<font face="Courier, Courier New, sansserif, sans serif" size="2"><a name="427010"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vx_emerg_start </b></font>[<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>-m</b></font>] [<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>-r</b></font> <em>root_daname</em>] <em>hostname </em>
</font>

<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="427040"></a> DESCRIPTION</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427045"></a>The <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vx_emerg_start</b></font> utility can be used to start VERITAS Volume Manager (VxVM) when a system is booted from alternate media, or when a system has been booted into Maintenance Mode Boot (MMB) mode. This allows a rootable VxVM configuration to be repaired in the event of a catastrophic failure. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427093"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vx_emerg_start</b></font> verifies that the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>/etc/vx/volboot</b></font> file exists, and checks the command-line arguments against the contents of this file. </font>
</p>


<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="427114"></a> OPTIONS</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427120"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>-m</b></font></font>
</p>
<p>
<a name="427840"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Mounts the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>root</b></font> file system contained on the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>rootvol</b></font> volume after VxVM has been started. Prior to being mounted, the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>rootvol</b></font> volume is started and <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>fsck</b></font> is run on the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>root</b></font> file system. </font>
</p>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427160"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>-r</b></font> <em>root_daname</em></font>
</p>
<p>
<a name="427863"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Specifies the disk access name of one of the members of the root disk group that is to be imported. This option can be used to specify the appropriate root disk group when multiple generations of the same root disk group exist on the system under repair. If this option is not specified, the desired root disk group  may not be imported if multiple disk groups with the same name exist on the system, and if one of these disk groups has a more recent timestamp. </font>
</p>

<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="427254"></a> ARGUMENTS</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427260"></a><em>hostname</em></font>
</p>
<p>
<a name="427882"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2">Specifies the system name (nodename) of the host system being repaired. This name is used to allow the desired root disk group to be imported. It must match the name of the system being repaired, as it is unlikely to be recorded on the recovery media from which you booted the system. </font>
</p>

<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="427326"></a> NOTES</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427331"></a>HP-UX Maintenance Mode Boot (MMB) is intended for recovery from catastrophic failures that have prevented the target machine from booting. If a VxVM root volume is mirrored, only one mirror is active when the system is in MMB mode. Any writes that are made to the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>root </b></font>file system in this mode can corrupt this file system when both mirrors are subsequently configured. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427379"></a>The <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vx_emerg_start</b></font> script allows VxVM to be started while a system is in MMB mode, and marks the non-boot mirror plexes as stale. This prevents corruption of the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>root</b></font> volume or file system by forcing a subsequent recovery from the boot mirror to the non-boot mirrors to take place. </font>
</p>


<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="427418"></a> USAGE</font>
</h3>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427423"></a>After VxVM has been started, various recovery options can be performed depending on the nature of the problem. It is recommended that you use the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vxprint</b></font> command to determine the state of the configuration. </font>
</p>

<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427453"></a>One common problem is when all the plexes of the root disk are stale as shown in the following sample output from <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vxprint</b></font>: </font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427480"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">v&nbsp;&nbsp;rootvol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DISABLED&nbsp;393216&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;ACTIVE&nbsp;&nbsp;&nbsp;-</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427485"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">pl&nbsp;rootvol-01&nbsp;&nbsp;&nbsp;&nbsp;rootvol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DISABLED&nbsp;393216&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;STALE&nbsp;&nbsp;&nbsp;&nbsp;-</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427493"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">sd&nbsp;rootdisk01-02&nbsp;rootvol-01&nbsp;&nbsp;ENABLED&nbsp;&nbsp;393216&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427501"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">pl&nbsp;rootvol-02&nbsp;&nbsp;&nbsp;&nbsp;rootvol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DISABLED&nbsp;393216&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;STALE&nbsp;&nbsp;&nbsp;&nbsp;-</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427509"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">pl&nbsp;rootvol-02&nbsp;&nbsp;&nbsp;&nbsp;rootvol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DISABLED&nbsp;393216&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;STALE&nbsp;&nbsp;&nbsp;&nbsp;-</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427517"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">sd&nbsp;rootdisk02-02&nbsp;rootvol-02&nbsp;&nbsp;ENABLED&nbsp;&nbsp;393216&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-</font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427533"></a>In this case, the volume can usually be repaired by using the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vxvol</b></font> command as shown here: </font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427566"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">vxvol&nbsp;-g&nbsp;4.1ROOT&nbsp;-f&nbsp;start&nbsp;rootvol</font>
</font>
<p>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427582"></a>If the volume is mirrored, it is put in read-write-back recovery mode. As the command is run in the foreground, it does not exit until the recovery is complete. It is then recommended that you run <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>fsck</b></font> on the <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>root</b></font> file system, and mount it, before attempting to reboot the system: </font>
</p>

<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427651"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">fsck&nbsp;-F&nbsp;vxfs&nbsp;-o&nbsp;full&nbsp;/dev/vx/rdsk/4.1ROOT/rootvol</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427659"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">mkdir&nbsp;/tmp_mnt</font>
</font>
<br>
<font face="Courier New, Courier, sansserif, sans serif" size="2"><a name="427667"></a><font face="Courier New, Courier, sansserif, sans serif" size="2">mount&nbsp;-F&nbsp;vxfs&nbsp;/dev/vx/dsk/4.1ROOT/rootvol&nbsp;/tmp_mnt</font>
</font>

<h3><font face="Arial, Helvetica, Geneva, sansserif, sans serif, Verdana" size="2" color="#000000">
<a name="427683"></a> SEE ALSO</font>
</h3>
<blockquote>
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><a name="427688"></a><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>fsck</b></font>(1M), <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>mkdir</b></font>(1M), <font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>mount</b></font>(1M), <a href="vxintro_vxvm_manpages47_452164.html#439378"><font color="#0000ff"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vxintro </b></font></font></a>(1M), <a href="vxprint_vxvm_manpages58_439087.html#433463"><font color="#0000ff"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vxprint </b></font></font></a>(1M), <a href="vxvol_vxvm_manpages85_441003.html#433596"><font color="#0000ff"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="2"><b>vxvol </b></font></font></a>(1M) </font>
</blockquote>

<!-- End Main Topic Content -->

   </td>
  </tr>
 </table>
</div>

<div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
 <tr>
  <td height="18" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
  </td>
 </tr>
  <td align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&nbsp;&#94;&nbsp;<a href="vx_emerg_start_vxvm_manpages11_427683.html" title="vx_emerg_start">Return to Top</a></font>

  </td>
  <td align="right"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">&lt;&nbsp;<a href="vrstat_vxvm_manpages10_427317.html" title="Previous - vrstat">Previous</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="vxadm_vxvm_manpages12_429622.html" title="Next - vxadm">Next</a>
&nbsp;&gt;&nbsp;&nbsp;</font>
  </td>
 <tr>
   <td height="9" border="0" cellspacing="0" cellpadding="0" colspan="2" bgcolor="#FFFFFF">
   </td>
 </tr>

<!-- Footer Breadcrumbs -->
<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Product:  
<a href="vxvm_manpages_splashpage_docCD_vxvm_manpages1_103036.vxhd" title="Volume Manager Manual Pages for Storage Foundation title page ">Volume Manager Manual Pages for Storage Foundation</a>&nbsp;&nbsp;</font></td>
</tr>

<tr>
<td bgcolor="#FFFFFF" colspan="2" height="15" align="right">
<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="1">Manual:  
<a href="man1m_titlepage_docCD_vxvm_manpages2_73700.vxhd" title="Maintenance Commands (1m) title page ">Maintenance Commands (1m)</a>&nbsp;&nbsp;</font></td>
</tr>


 <tr>
  <td colspan="2" align="left"><font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" color="#000000" align="right" size="-2">
<em>VERITAS Software Corporation
</em></font><br>

<font face="Verdana, Arial, Helvetica, Geneva, sansserif, sans serif" size="-2">www.veritas.com</font><br>
  </td>
 </tr>
</table>
</div>

</BODY>
  <!--
    *************************************************************************************
    * Copyright (c) 2005 VERITAS Software Corporation. All rights reserved. *

    VERITAS, VERITAS SOFTWARE, the VERITAS Logo, and VERITAS Software Documentation 
    are trademarks or registered trademarks of VERITAS Software Corporation 
    or its affiliates in the U.S. and other countries. Other names may be 
    trademarks of their respective owners. 

    Apache Jakarta Lucene:
    Apache Software License
    Version 1.1

    Copyright (c) 2000 The Apache Software Foundation. All rights reserved.

    Redistribution and use in source and binary forms, with or without modification, 
    are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice, this 
    list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright notice, this 
    list of conditions and the following disclaimer in the documentation and/or other 
    materials provided with the distribution.

    3. The end-user documentation included with the redistribution, if any, must include 
    the following acknowledgment: "This product includes software developed by the Apache 
    Software Foundation (http://www.apache.org/)." Alternately, this acknowledgment may 
    appear in the software itself, if and wherever such third-party acknowledgments 
    normally appear.

    4. The names "Apache" and "Apache Software Foundation" must not be used to endorse or 
    promote products derived from this software without prior written permission. For 
    written permission, please contact apache@apache.org.

    5. Products derived from this software may not be called "Apache", nor may "Apache" 
    appear in their name, without prior written permission of the Apache Software Foundation.

    THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, 
    BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
    PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION 
    OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
    OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 
    ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 
    NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

    This software consists of voluntary contributions made by many individuals on behalf 
    of the Apache Software Foundation. For more information on the Apache Software Foundation, 
    please see <http://www.apache.org/>. Portions of this software are based upon public domain 
    software originally written at the National Center for Supercomputing Applications, University 
    of Illinois, Urbana-Champaign.
    
    This product includes WebWindow Software developed by Horst Heistermann.
    *************************************************************************************
  -->
</HTML>
