1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="vos_syncvldb1">
4 <refentrytitle>vos syncvldb</refentrytitle>
5 <manvolnum>1</manvolnum>
8 <refname>vos syncvldb</refname>
9 <refpurpose>Verifies VLDB entries for volumes residing at specified site</refpurpose>
12 <title>Synopsis</title>
13 <para><emphasis role="bold">vos syncvldb</emphasis> [<emphasis role="bold">-server</emphasis> <<emphasis>machine name</emphasis>>]
14 [<emphasis role="bold">-partition</emphasis> <<emphasis>partition name</emphasis>>] [<emphasis role="bold">-volume</emphasis> <<emphasis>volume name or ID</emphasis>>]
15 [<emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-noauth</emphasis>] [<emphasis role="bold">-localauth</emphasis>] [<emphasis role="bold">-verbose</emphasis>]
16 [<emphasis role="bold">-help</emphasis>]</para>
18 <para><emphasis role="bold">vos syncv</emphasis> [<emphasis role="bold">-s</emphasis> <<emphasis>machine name</emphasis>>] [<emphasis role="bold">-p</emphasis> <<emphasis>partition name</emphasis>>]
19 [<emphasis role="bold">-vo</emphasis> <<emphasis>volume name or ID</emphasis>>] [<emphasis role="bold">-c</emphasis> <<emphasis>cell name</emphasis>>] [<emphasis role="bold">-n</emphasis>] [<emphasis role="bold">-l</emphasis>]
20 [<emphasis role="bold">-ve</emphasis>] [<emphasis role="bold">-h</emphasis>]</para>
24 <title>Description</title>
25 <para>The <emphasis role="bold">vos syncvldb</emphasis> command verifies that the status of the volumes housed
26 either on all partitions on the file server machine specified by the
27 <emphasis role="bold">-server</emphasis> argument, or on the single partition specified by the
28 <emphasis role="bold">-server</emphasis> and <emphasis role="bold">-partition</emphasis> arguments, is recorded correctly in the
29 VLDB. If the <emphasis role="bold">-volume</emphasis> argument is included to indicate a single volume,
30 the command compares only its status on the file server machine with its
33 <para>If the <emphasis role="bold">-volume</emphasis> argument is not included, the command interpreter
34 obtains from the Volume Server a list of the volumes that reside on each
35 partition, then changes information in the VLDB as necessary to reflect
36 their state on the partition. For example, it creates or updates a VLDB
37 entry when it finds a volume for which the VLDB entry is missing or
38 incomplete. However, if there is already a VLDB entry that defines a
39 different location for the volume, or there are irreconcilable conflicts
40 with other VLDB entries, it instead writes a message about the conflict to
41 the standard error stream. The command never removes volumes from the file
42 server machine.</para>
44 <para>To achieve complete VLDB consistency, run this command on all file server
45 machines in the cell, and then run the <emphasis role="bold">vos syncserv</emphasis> command on all file
46 server machines in the cell.</para>
48 <para>Using the <emphasis role="bold">-volume</emphasis> argument basically combines the effects of this
49 command with those of the <emphasis role="bold">vos syncserv</emphasis> command, for a single
50 volume. The command not only verifies that the VLDB entry is correct for
51 the specified volume type (read/write, backup, or read-only), but also
52 checks that any related volume types mentioned in the VLDB entry actually
53 exist at the site listed in the entry. It is not necessary to provide the
54 <emphasis role="bold">-server</emphasis> argument (and optionally, <emphasis role="bold">-partition</emphasis> argument); if one or
55 both is provided, the results are reliable only if they specify the actual
56 location of the volume indicated by the <emphasis role="bold">-volume</emphasis> argument.</para>
60 <title>Options</title>
63 <term><emphasis role="bold">-server</emphasis> <<emphasis>server name</emphasis>></term>
65 <para>Identifies the file server machine housing the volumes for which to verify
66 VLDB entries. Provide the machine's IP address or its host name (either
67 fully qualified or using an unambiguous abbreviation). For details, see
68 <link linkend="vos1">vos(1)</link>.</para>
73 <term><emphasis role="bold">-partition</emphasis> <<emphasis>partition name</emphasis>></term>
75 <para>Identifies the partition housing the volumes for which to verify VLDB
76 entries. Provide the <emphasis role="bold">-server</emphasis> argument along with this one. Provide the
77 partition's complete name with preceding slash (for example, <computeroutput>/vicepa</computeroutput>)
78 or use one of the three acceptable abbreviated forms. For details, see
79 <link linkend="vos1">vos(1)</link>.</para>
84 <term><emphasis role="bold">-volume</emphasis> <<emphasis>volume name or ID</emphasis>></term>
86 <para>Specifies the name or volume ID number of a single volume for which to
87 verify the VLDB entry. This argument can be combined with the <emphasis role="bold">-server</emphasis>
88 (and optionally, the <emphasis role="bold">-partition</emphasis>) argument.</para>
93 <term><emphasis role="bold">-cell</emphasis> <<emphasis>cell name</emphasis>></term>
95 <para>Names the cell in which to run the command. Do not combine this argument
96 with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see <link linkend="vos1">vos(1)</link>.</para>
101 <term><emphasis role="bold">-noauth</emphasis></term>
103 <para>Assigns the unprivileged identity <computeroutput>anonymous</computeroutput> to the issuer. Do not
104 combine this flag with the <emphasis role="bold">-localauth</emphasis> flag. For more details, see
105 <link linkend="vos1">vos(1)</link>.</para>
110 <term><emphasis role="bold">-localauth</emphasis></term>
112 <para>Constructs a server ticket using a key from the local
113 <replaceable>/usr/afs/etc/KeyFile</replaceable> file. The <emphasis role="bold">vos</emphasis> command interpreter presents it
114 to the Volume Server and Volume Location Server during mutual
115 authentication. Do not combine this flag with the <emphasis role="bold">-cell</emphasis> argument or
116 <emphasis role="bold">-noauth</emphasis> flag. For more details, see <link linkend="vos1">vos(1)</link>.</para>
121 <term><emphasis role="bold">-verbose</emphasis></term>
123 <para>Produces on the standard output stream a detailed trace of the command's
124 execution. If this argument is omitted, only warnings and error messages
130 <term><emphasis role="bold">-help</emphasis></term>
132 <para>Prints the online help for this command. All other valid options are
140 <title>Examples</title>
141 <para>The following example command verifies the VLDB entry for each volume
142 stored on the file server machine <computeroutput>fs4.abc.com</computeroutput>.</para>
145 % vos syncvldb fs4.abc.com
150 <title>Privilege Required</title>
151 <para>The issuer must be listed in the <replaceable>/usr/afs/etc/UserList</replaceable> file on the
152 machine specified with the <emphasis role="bold">-server</emphasis> argument and on each database server
153 machine. If the <emphasis role="bold">-localauth</emphasis> flag is included, the issuer must instead be
154 logged on to a server machine as the local superuser <computeroutput>root</computeroutput>.</para>
158 <title>See Also</title>
159 <para><link linkend="vos1">vos(1)</link>,
160 <link linkend="vos_syncserv1">vos_syncserv(1)</link></para>
164 <title>Copyright</title>
165 <para>IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.</para>
167 <para>This documentation is covered by the IBM Public License Version 1.0. It was
168 converted from HTML to POD by software written by Chas Williams and Russ
169 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.</para>