2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
2007-11-11 22:54:56 +00:00
|
|
|
vos_syncvldb - Verifies VLDB entries for volumes residing at specified site
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
B<vos syncvldb> S<<< [B<-server> <I<machine name>>] >>>
|
2009-10-08 18:31:00 +01:00
|
|
|
S<<< [B<-partition> <I<partition name>>] >>>
|
|
|
|
S<<< [B<-volume> <I<volume name or ID>>] >>>
|
|
|
|
[B<-dryrun>] S<<< [B<-cell> <I<cell name>>] >>>
|
|
|
|
[B<-noauth>] [B<-localauth>]
|
2013-06-20 23:45:05 +01:00
|
|
|
[B<-verbose>] [B<-encrypt>] [B<-noresolve>]
|
|
|
|
S<<< [B<-config> <I<config directory>>] >>>
|
|
|
|
[B<-help>]
|
2009-10-08 18:31:00 +01:00
|
|
|
|
|
|
|
B<vos syncv> S<<< [B<-s> <I<machine name>>] >>>
|
|
|
|
S<<< [B<-p> <I<partition name>>] >>>
|
|
|
|
S<<< [B<-vo> <I<volume name or ID>>] >>>
|
|
|
|
[B<-d>] S<<< [B<-c> <I<cell name>>] >>>
|
2013-06-20 23:45:05 +01:00
|
|
|
[B<-noa>] [B<-l>] [B<-ve>] [B<-e>] [B<-nor>]
|
|
|
|
S<<< [B<-co> <I<config directory>>] >>>
|
|
|
|
[B<-h>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The B<vos syncvldb> command verifies that the status of the volumes housed
|
|
|
|
either on all partitions on the file server machine specified by the
|
2005-12-08 12:14:33 +00:00
|
|
|
B<-server> argument, or on the single partition specified by the
|
2005-12-09 14:48:56 +00:00
|
|
|
B<-server> and B<-partition> arguments, is recorded correctly in the
|
|
|
|
VLDB. If the B<-volume> argument is included to indicate a single volume,
|
|
|
|
the command compares only its status on the file server machine with its
|
|
|
|
VLDB entry.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
If the B<-volume> argument is not included, the command interpreter
|
2005-12-08 12:14:33 +00:00
|
|
|
obtains from the Volume Server a list of the volumes that reside on each
|
2005-12-09 14:48:56 +00:00
|
|
|
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
|
2005-12-08 12:14:33 +00:00
|
|
|
incomplete. However, if there is already a VLDB entry that defines a
|
2005-12-09 14:48:56 +00:00
|
|
|
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
|
2005-12-08 12:14:33 +00:00
|
|
|
server machine.
|
|
|
|
|
|
|
|
To achieve complete VLDB consistency, run this command on all file server
|
2005-12-09 14:48:56 +00:00
|
|
|
machines in the cell, and then run the B<vos syncserv> command on all file
|
|
|
|
server machines in the cell.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
Using the B<-volume> argument basically combines the effects of this
|
|
|
|
command with those of the B<vos syncserv> 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
|
2005-12-08 12:14:33 +00:00
|
|
|
checks that any related volume types mentioned in the VLDB entry actually
|
2005-12-09 14:48:56 +00:00
|
|
|
exist at the site listed in the entry. It is not necessary to provide the
|
|
|
|
B<-server> argument (and optionally, B<-partition> 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> argument.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-server> <I<server name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Identifies the file server machine housing the volumes for which to verify
|
2005-12-09 14:48:56 +00:00
|
|
|
VLDB entries. Provide the machine's IP address or its host name (either
|
|
|
|
fully qualified or using an unambiguous abbreviation). For details, see
|
|
|
|
L<vos(1)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-partition> <I<partition name>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Identifies the partition housing the volumes for which to verify VLDB
|
2005-12-09 14:48:56 +00:00
|
|
|
entries. Provide the B<-server> argument along with this one. Provide the
|
|
|
|
partition's complete name with preceding slash (for example, C</vicepa>)
|
|
|
|
or use one of the three acceptable abbreviated forms. For details, see
|
|
|
|
L<vos(1)>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=item B<-volume> <I<volume name or ID>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies the name or volume ID number of a single volume for which to
|
2005-12-09 14:48:56 +00:00
|
|
|
verify the VLDB entry. This argument can be combined with the B<-server>
|
|
|
|
(and optionally, the B<-partition>) argument.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2008-09-06 13:51:01 +01:00
|
|
|
=item B<-dryrun>
|
|
|
|
|
|
|
|
Show the actions which would be taken, but do not make changes.
|
|
|
|
|
2013-06-30 03:06:51 +01:00
|
|
|
=include fragments/vos-common.pod
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following example command verifies the VLDB entry for each volume
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
stored on the file server machine C<fs4.example.com>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% vos syncvldb fs4.example.com
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
The issuer must be listed in the F</usr/afs/etc/UserList> file on the
|
|
|
|
machine specified with the B<-server> argument and on each database server
|
|
|
|
machine. If the B<-localauth> flag is included, the issuer must instead be
|
|
|
|
logged on to a server machine as the local superuser C<root>.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<vos(1)>,
|
|
|
|
L<vos_syncserv(1)>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|