mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
c717fcd32c
Larger collection of all vos suite commands, including but not limited to: -- documented all commands / options, verified against both 1.4 and 1.5 tree (including the common -encrypt/-noresolve options) -- correct order, POD formatting and synopsis for all commands' options -- shorthand synopsis provided for all commands that missed it, with proper non-ambiguous command abbreviations of all options -- POD synopsis formatted to 80-columns in commands where it was running over -- for newer options, documented which OpenAFS version they became available -- proper manpage links using L<> in vos.pod Reviewed-on: http://gerrit.openafs.org/609 Tested-by: Derrick Brashear <shadow@dementia.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
193 lines
5.5 KiB
Plaintext
193 lines
5.5 KiB
Plaintext
=head1 NAME
|
|
|
|
vos_status - Reports a Volume Server's status
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
=for html
|
|
<div class="synopsis">
|
|
|
|
B<vos status> S<<< B<-server> <I<machine name>> >>>
|
|
S<<< [B<-cell> <I<cell name>>] >>>
|
|
[B<-noauth>] [B<-localauth>]
|
|
[B<-verbose>] [B<-encrypt>] [B<-noresolve>] [B<-help>]
|
|
|
|
B<vos st> S<<< B<-s> <I<machine name>> >>>
|
|
S<<< [B<-c> <I<cell name>>] >>>
|
|
[B<-noa>] [B<-l>] [B<-v>] [B<-e>] [B<-nor>] [B<-h>]
|
|
|
|
=for html
|
|
</div>
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
The B<vos status> command reports on what the Volume Server on a certain
|
|
file server machine is doing at the moment the command is issued. If there
|
|
is no activity, the following message appears:
|
|
|
|
No active transactions on <machine_name>
|
|
|
|
This command is useful mainly if there is concern that the Volume Server
|
|
is not performing requested actions.
|
|
|
|
=head1 OPTIONS
|
|
|
|
=over 4
|
|
|
|
=item B<-server> <I<server name>>
|
|
|
|
Identifies the file server machine running the Volume Server for which to
|
|
display status information. Provide the machine's IP address or its host
|
|
name (either fully qualified or using an unambiguous abbreviation). For
|
|
details, see L<vos(1)>.
|
|
|
|
=item B<-cell> <I<cell name>>
|
|
|
|
Names the cell in which to run the command. Do not combine this argument
|
|
with the B<-localauth> flag. For more details, see L<vos(1)>.
|
|
|
|
=item B<-noauth>
|
|
|
|
Assigns the unprivileged identity C<anonymous> to the issuer. Do not
|
|
combine this flag with the B<-localauth> flag. For more details, see
|
|
L<vos(1)>.
|
|
|
|
=item B<-localauth>
|
|
|
|
Constructs a server ticket using a key from the local
|
|
F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
|
|
to the Volume Server and Volume Location Server during mutual
|
|
authentication. Do not combine this flag with the B<-cell> argument or
|
|
B<-noauth> flag. For more details, see L<vos(1)>.
|
|
|
|
=item B<-verbose>
|
|
|
|
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.
|
|
|
|
=item B<-encrypt>
|
|
|
|
Encrypts the command so that the operation's results are not transmitted
|
|
across the network in clear text. This option is available in OpenAFS
|
|
versions 1.4.11 or later and 1.5.60 or later.
|
|
|
|
=item B<-noresolve>
|
|
|
|
Shows all servers as IP addresses instead of the DNS name. This is very
|
|
useful when the server address is registered as 127.0.0.1 or when dealing
|
|
with multi-homed servers. This option is available in OpenAFS
|
|
versions 1.4.8 or later and 1.5.35 or later.
|
|
|
|
=item B<-help>
|
|
|
|
Prints the online help for this command. All other valid options are
|
|
ignored.
|
|
|
|
=back
|
|
|
|
=head1 OUTPUT
|
|
|
|
There are two possible types of output.
|
|
|
|
The following message indicates that the Volume Server is not currently
|
|
performing any actions.
|
|
|
|
No active transactions on I<machine name>
|
|
|
|
The other possible output is a set of information which is probably more
|
|
useful to programmers than to system administrators. A full understanding
|
|
of all the fields requires familiarity with the code for the Volume
|
|
Server, as many of the fields report ID numbers and flag values that the
|
|
Volume Server sets for internal use.
|
|
|
|
Among the fields of possible interest to an administrator are:
|
|
|
|
=over 4
|
|
|
|
=item *
|
|
|
|
C<created> on the first line, which indicates the time at which this
|
|
transaction started
|
|
|
|
=item *
|
|
|
|
C<attachFlags> on the second line, where a value of C<offline> indicates
|
|
that the volume is not available for other read or write operations during
|
|
this transaction
|
|
|
|
=item *
|
|
|
|
C<volume> on the third line, which specifies the affected volume's ID
|
|
number
|
|
|
|
=item *
|
|
|
|
C<partition> on the third line, which indicates where the affected volume
|
|
resides (at the beginning of the transaction if this is a move)
|
|
|
|
=item *
|
|
|
|
C<procedure> on the third line, which indicates the internal subprocedure
|
|
being executed
|
|
|
|
=back
|
|
|
|
A fourth line can appear during certain transactions, and includes the
|
|
following fields:
|
|
|
|
=over 4
|
|
|
|
=item *
|
|
|
|
C<packetRead> tracks whether information is being read into the
|
|
volume. Its absolute value is not informative, but the way it changes
|
|
shows whether the B<vos restore> command is executing properly. As the
|
|
B<vos status> command is issued repeatedly during a restore, C<readNext>
|
|
increases monotonically to indicate that information is being read into
|
|
the volume.
|
|
|
|
=item *
|
|
|
|
C<packetSend> tracks whether information is being sent out of the
|
|
volume. Its absolute value is not informative, but the way it changes
|
|
shows whether the B<vos dump> command is executing properly. As the B<vos
|
|
status> command is issued repeatedly during a dump, C<transmitNext>
|
|
increases monotonically to indicate that information is being transferred
|
|
from the volume into the dump file.
|
|
|
|
=back
|
|
|
|
The C<lastReceiveTime> and C<lastSendTime> are for internal use.
|
|
|
|
=head1 EXAMPLES
|
|
|
|
The following example illustrates the kind of output that sometimes
|
|
appears when the Volume Server on C<fs1.abc.com> is executing a dump at
|
|
the time this command is issued.
|
|
|
|
% vos status fs1.abc.com
|
|
--------------------------------------------
|
|
transaction: 575 created: Tue Jan 2 8:34:56 1990
|
|
attachFlags: offline
|
|
volume: 536871080 partition: /vicepb procedure: Dump
|
|
packetRead: 2 lastReceiveTime: 113313 packetSend: 24588
|
|
lastSendTime: 113317
|
|
--------------------------------------------
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
None
|
|
|
|
=head1 SEE ALSO
|
|
|
|
L<vos(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.
|