VOS_ENDTRANS(1) | AFS Command Reference | VOS_ENDTRANS(1) |
vos_endtrans - Ends a volserver transaction
vos endtrans
-server <machine name>
-transaction <transaction iD>
[-cell <cell name>]
[-noauth] [-localauth]
[-verbose] [-encrypt] [-noresolve]
[-config <config directory>]
[-help]
vos st -s <machine name>
-t <transaction iD>
[-c <cell name>]
[-noa] [-l] [-v] [-e] [-nor]
[-co <config directory>]
[-h]
The vos endtrans command ends a specific transaction on the Volume 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 vos process crash.
Many vos 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 vos 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. 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 vos status command.
This command is not used during normal OpenAFS administration. If used improperly, this can negatively impact currently-running vos operations. Only run this on a transaction if you are certain that the program that created the transaction is no longer running.
The following example illustrates the kind of output that can appear when a volume operation was about to be attempted on the Volume Server on "fs1.example.com", but the process performing the operation never actually did anything with the volume:
% vos status fs1.example.com -------------------------------------------- transaction: 575 created: Fri Oct 16 16:55:54 2009 attachFlags: offline volume: 536871080 partition: /vicepb procedure: TransCreate -------------------------------------------- % vos endtrans fs1.example.com 575 % vos status fs1.example.com No active transactions on fs1.example.com
The issuer must be listed in the /etc/openafs/server/UserList file on the machine specified with the -server argument. If the -localauth flag is included, the issuer must instead be logged on to a server machine as the local superuser "root".
vos(1), vos_status(1)
Copyright 2009 Sine Nomine Associates
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.
2024-12-16 | OpenAFS |