2009-10-16 23:12:35 +01:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
vos_endtrans - Ends a volserver transaction
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
B<vos endtrans> S<<< B<-server> <I<machine name>> >>>
|
|
|
|
S<<< B<-transaction> <I<transaction iD>> >>>
|
|
|
|
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-16 23:12:35 +01:00
|
|
|
|
|
|
|
B<vos st> S<<< B<-s> <I<machine name>> >>>
|
|
|
|
S<<< B<-t> <I<transaction iD>> >>>
|
|
|
|
S<<< [B<-c> <I<cell name>>] >>>
|
2013-06-20 23:45:05 +01:00
|
|
|
[B<-noa>] [B<-l>] [B<-v>] [B<-e>] [B<-nor>]
|
|
|
|
S<<< [B<-co> <I<config directory>>] >>>
|
|
|
|
[B<-h>]
|
2009-10-16 23:12:35 +01:00
|
|
|
|
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2011-02-03 20:22:02 +00:00
|
|
|
The B<vos endtrans> command ends a specific transaction on the Volume
|
2009-10-16 23:12:35 +01:00
|
|
|
Server for a specific volume. Under normal operation this command should
|
|
|
|
never need to be used, but it can be useful to reduce the amount of time
|
|
|
|
a volume is offline after an accidental command, or a L<B<vos>|vos(1)>
|
|
|
|
process crash.
|
|
|
|
|
|
|
|
Many L<B<vos>|vos(1)> commands, when they interact with a volume, create
|
|
|
|
what is called a transaction in order to perform many different
|
|
|
|
operations on a volume. If the L<B<vos>|vos(1)> process exits uncleanly,
|
|
|
|
transactions may still stay open for the manipulated volumes, and the
|
|
|
|
Volume Server may deny any further operations on those volumes while the
|
|
|
|
transactions are still open. B<vos endtrans> allows you to end these
|
|
|
|
transactions and make the volumes usable again without needing to
|
|
|
|
restart the volserver.
|
|
|
|
|
|
|
|
To find out what transactions are running on a Volume Server and what
|
|
|
|
their transaction IDs are, see the L<B<vos status>|vos_status(1)>
|
|
|
|
command.
|
|
|
|
|
|
|
|
=head1 CAUTIONS
|
|
|
|
|
|
|
|
This command is not used during normal OpenAFS administration. If used
|
|
|
|
improperly, this can negatively impact currently-running
|
|
|
|
L<B<vos>|vos(1)> operations. Only run this on a transaction if you are
|
|
|
|
certain that the program that created the transaction is no longer
|
|
|
|
running.
|
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item B<-server> <I<server name>>
|
|
|
|
|
|
|
|
Identifies the file server machine running the Volume Server on which to
|
|
|
|
end the transaction. 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<-transaction> <I<transaction ID>>
|
|
|
|
|
|
|
|
Identifies which transaction to end on the Volume Server. You can get a
|
|
|
|
listing of active transactions and their IDs from the output of
|
|
|
|
L<B<vos status>|vos_status(1)>.
|
|
|
|
|
2013-06-30 03:06:51 +01:00
|
|
|
=include fragments/vos-common.pod
|
2009-10-16 23:12:35 +01:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
|
|
|
The following example illustrates the kind of output that can appear
|
|
|
|
when a volume operation was about to be attempted on the Volume Server
|
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
|
|
|
on C<fs1.example.com>, but the process performing the operation never
|
2009-10-16 23:12:35 +01:00
|
|
|
actually did anything with the 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
|
|
|
% vos status fs1.example.com
|
2009-10-16 23:12:35 +01:00
|
|
|
--------------------------------------------
|
|
|
|
transaction: 575 created: Fri Oct 16 16:55:54 2009
|
|
|
|
attachFlags: offline
|
|
|
|
volume: 536871080 partition: /vicepb procedure: TransCreate
|
|
|
|
--------------------------------------------
|
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 endtrans fs1.example.com 575
|
|
|
|
% vos status fs1.example.com
|
|
|
|
No active transactions on fs1.example.com
|
2009-10-16 23:12:35 +01:00
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
|
|
|
The issuer must be listed in the F</usr/afs/etc/UserList> file on the
|
|
|
|
machine specified with the B<-server> argument. If the B<-localauth>
|
|
|
|
flag is included, the issuer must instead be logged on to a server
|
|
|
|
machine as the local superuser C<root>.
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
|
|
|
L<vos(1)>,
|
|
|
|
L<vos_status(1)>
|
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
2011-04-28 19:55:09 +01:00
|
|
|
Copyright 2009 Sine Nomine Associates
|
2009-10-16 23:12:35 +01:00
|
|
|
|
|
|
|
This documentation is covered by the BSD License as written in the
|
|
|
|
doc/LICENSE file. This man page was written by Andrew Deason for
|
|
|
|
OpenAFS.
|