openafs/doc/html/AdminReference/auarf277.htm

137 lines
7.7 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4//EN">
<HTML><HEAD>
<TITLE>Administration Reference</TITLE>
<!-- Begin Header Records ========================================== -->
<!-- /tmp/idwt3672/auarf000.scr converted by idb2h R4.2 (359) ID -->
<!-- Workbench Version (AIX) on 3 Oct 2000 at 16:18:30 -->
<META HTTP-EQUIV="updated" CONTENT="Tue, 03 Oct 2000 16:18:29">
<META HTTP-EQUIV="review" CONTENT="Wed, 03 Oct 2001 16:18:29">
<META HTTP-EQUIV="expires" CONTENT="Thu, 03 Oct 2002 16:18:29">
</HEAD><BODY>
<!-- (C) IBM Corporation 2000. All Rights Reserved -->
<BODY bgcolor="ffffff">
<!-- End Header Records ============================================ -->
<A NAME="Top_Of_Page"></A>
<H1>Administration Reference</H1>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf276.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Bot_Of_Page"><IMG SRC="../bot.gif" BORDER="0" ALT="[Bottom of Topic]"></A> <A HREF="auarf278.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<P>
<H2><A NAME="HDRVOS_SYNCVLDB" HREF="auarf002.htm#ToC_291">vos syncvldb</A></H2>
<A NAME="IDX5846"></A>
<A NAME="IDX5847"></A>
<A NAME="IDX5848"></A>
<A NAME="IDX5849"></A>
<A NAME="IDX5850"></A>
<A NAME="IDX5851"></A>
<A NAME="IDX5852"></A>
<A NAME="IDX5853"></A>
<A NAME="IDX5854"></A>
<P><STRONG>Purpose</STRONG>
<P>Verifies VLDB entries for volumes residing at specified site
<P><STRONG>Synopsis</STRONG>
<PRE><B>vos syncvldb</B> [<B>-server</B> &lt;<VAR>machine&nbsp;name</VAR>>] [<B>-partition</B> &lt;<VAR>partition&nbsp;name</VAR>>]
[<B>-volume</B> &lt;<VAR>volume&nbsp;name&nbsp;or&nbsp;ID</VAR>>] [<B>-cell</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-noauth</B>]
[<B>-localauth</B>] [<B>-verbose</B>] [<B>-help</B>]
<B>vos syncv</B> [<B>-s</B> &lt;<VAR>machine&nbsp;name</VAR>>] [<B>-p</B> &lt;<VAR>partition&nbsp;name</VAR>>] [<B>-vo</B> &lt;<VAR>volume&nbsp;name&nbsp;or&nbsp;ID</VAR>>]
[<B>-c</B> &lt;<VAR>cell&nbsp;name</VAR>>] [<B>-n</B>] [<B>-l</B>] [<B>-ve</B>] [<B>-h</B>]
</PRE>
<P><STRONG>Description</STRONG>
<P>The <B>vos syncvldb</B> command verifies that the status of the volumes
housed either on all partitions on the file server machine specified by the
<B>-server</B> argument, or on the single partition specified by the
<B>-server</B> and <B>-partition</B> arguments, is recorded correctly
in the VLDB. If the <B>-volume</B> argument is included to indicate
a single volume, the command compares only its status on the file server
machine with its VLDB entry.
<P>If the <B>-volume</B> argument is not included, the command interpreter
obtains from the Volume Server a list of the volumes that reside on each
partition, then changes information in the VLDB as necessary to reflect their
state on the partition. For example, it creates or updates a VLDB entry
when it finds a volume for which the VLDB entry is missing or
incomplete. However, if there is already a VLDB entry that defines a
different location for the volume, or there are irreconcilable conflicts with
other VLDB entries, it instead writes a message about the conflict to the
standard error stream. The command never removes volumes from the file
server machine.
<P>To achieve complete VLDB consistency, run this command on all file server
machines in the cell, and then run the <B>vos syncserv</B> command on all
file server machines in the cell.
<P>Using the <B>-volume</B> argument basically combines the effects of
this command with those of the <B>vos syncserv</B> command, for a single
volume. The command not only verifies that the VLDB entry is correct
for the specified volume type (read/write, backup, or read-only), but also
checks that any related volume types mentioned in the VLDB entry actually
exist at the site listed in the entry. It is not necessary to provide
the <B>-server</B> argument (and optionally, <B>-partition</B>
argument); if one or both is provided, the results are reliable only if
they specify the actual location of the volume indicated by the
<B>-volume</B> argument.
<P><STRONG>Options</STRONG>
<DL>
<P><DT><B>-server
</B><DD>Identifies the file server machine housing the volumes for which to verify
VLDB entries. Provide the machine's IP address or its host name
(either fully qualified or using an unambiguous abbreviation). For
details, see the introductory reference page for the <B>vos</B> command
suite.
<P><DT><B>-partition
</B><DD>Identifies the partition housing the volumes for which to verify VLDB
entries. Provide the <B>-server</B> argument along with this
one. Provide the partition's complete name with preceding slash
(for example, <B>/vicepa</B>) or use one of the three acceptable
abbreviated forms. For details, see the introductory reference page for
the <B>vos</B> command suite.
<P><DT><B>-volume
</B><DD>Specifies the name or volume ID number of a single volume for which to
verify the VLDB entry. This argument can be combined with the
<B>-server</B> (and optionally, the <B>-partition</B>)
argument.
<P><DT><B>-cell
</B><DD>Names the cell in which to run the command. Do not combine this
argument with the <B>-localauth</B> flag. For more details, see the
introductory <B>vos</B> reference page.
<P><DT><B>-noauth
</B><DD>Assigns the unprivileged identity <B>anonymous</B> to the
issuer. Do not combine this flag with the <B>-localauth</B>
flag. For more details, see the introductory <B>vos</B> reference
page.
<P><DT><B>-localauth
</B><DD>Constructs a server ticket using a key from the local
<B>/usr/afs/etc/KeyFile</B> file. The <B>vos</B> command
interpreter presents it to the Volume Server and Volume Location Server during
mutual authentication. Do not combine this flag with the
<B>-cell</B> argument or <B>-noauth</B> flag. For more details,
see the introductory <B>vos</B> reference page.
<P><DT><B>-verbose
</B><DD>Produces on the standard output stream a detailed trace of the
command's execution. If this argument is omitted, only warnings
and error messages appear.
<P><DT><B>-help
</B><DD>Prints the online help for this command. All other valid options
are ignored.
</DL>
<P><STRONG>Examples</STRONG>
<P>The following example command verifies the VLDB entry for each volume
stored on the file server machine <B>fs4.abc.com</B>.
<PRE> % <B>vos syncvldb fs4.abc.com</B>
</PRE>
<P><STRONG>Privilege Required</STRONG>
<P>The issuer must be listed in the <B>/usr/afs/etc/UserList</B> file on
the machine specified with the <B>-server</B> argument and on each
database server machine. If the <B>-localauth</B> flag is included,
the issuer must instead be logged on to a server machine as the local
superuser <B>root</B>.
<P><STRONG>Related Information</STRONG>
<P><A HREF="auarf252.htm#HDRVOS_INTRO">vos</A>
<P><A HREF="auarf276.htm#HDRVOS_SYNCSERV">vos syncserv</A>
<P>
<HR><P ALIGN="center"> <A HREF="../index.htm"><IMG SRC="../books.gif" BORDER="0" ALT="[Return to Library]"></A> <A HREF="auarf002.htm#ToC"><IMG SRC="../toc.gif" BORDER="0" ALT="[Contents]"></A> <A HREF="auarf276.htm"><IMG SRC="../prev.gif" BORDER="0" ALT="[Previous Topic]"></A> <A HREF="#Top_Of_Page"><IMG SRC="../top.gif" BORDER="0" ALT="[Top of Topic]"></A> <A HREF="auarf278.htm"><IMG SRC="../next.gif" BORDER="0" ALT="[Next Topic]"></A> <A HREF="auarf284.htm#HDRINDEX"><IMG SRC="../index.gif" BORDER="0" ALT="[Index]"></A> <P>
<!-- Begin Footer Records ========================================== -->
<P><HR><B>
<br>&#169; <A HREF="http://www.ibm.com/">IBM Corporation 2000.</A> All Rights Reserved
</B>
<!-- End Footer Records ============================================ -->
<A NAME="Bot_Of_Page"></A>
</BODY></HTML>