vos_endtrans - Ends a volserver transaction
vos endtrans -server <machine name> -transaction <transaction iD> [-cell <cell name>] [-noauth] [-auth] [-localauth] [-encrypt [<yes|no>]] [-verbose] [-noresolve] [-config <configuration file>] [-help]
The vos endtrans command ends a specific transaction on the Volume Server. 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.
vos commands which modify a volume, clone a volume or transfer the volume data to another File Server create a transaction which permits the combination of multiple remote procedure calls (RPCs) into a single administrative operation. The vos process is responsible for creating a transaction at the beginning of a complex set of RPCs and then destroying the transaction when the operation is complete.
If the vos process exits uncleanly,
either due to process error or termination via
Ctrl-C or kill signal,
the transaction will not be destroyed.
In this situation the transaction will remain associated with the manipulated volumes,
and further operations on those volumes will be denied.
vos endtrans enables a cell administrator to end outstanding transactions.
Doing so will permit subsequent vos commands to be performed against the affected volumes.
Use the vos status to list the active transactions on a File Server and their transaction ID numbers.
vos endtrans must only be used to destroy a transaction when the vos command that created the transaction is no longer running. Destroying a transaction that is actively in use can result in data corruption and synchronization failures between the Location Service and the File Servers housing the volumes associated with the transaction.
Identifies the File Server on which to end the transaction. Provide a fully qualified host name, an IP address or UUID as reported by vos listfs.
Identifies which transaction to end on the File Server.
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see vos.
Assigns the unprivileged identity
anonymous to the issuer.
Do not combine this flag with the -localauth flag.
For more details,
Obtains an authentication token using the server encryption key with the highest key version number in the local /etc/yfs/server/KeyFileExt file. The resulting token never expires and has Super User privileges. Do not combine this flag with the -cell argument or -noauth flag. For more details, see vos.
Use the calling user's tokens from the kernel or as obtained using the active Kerberos ticket granting ticket to communicate with the Volume Server and Location Service. This is the default if neither -localauth nor -noauth is given.
Since this option is the default, it is usually not useful for running single command line operations. However, it can be useful when running commands via vos interactive or vos source, since otherwise it would be impossible to switch from, for example, -localauth back to using regular tokens during a bulk operation.
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.
Enables or disables encrytion for the command so that the operation's results are not transmitted across the network in clear text.
Shows all servers as IP addresses instead of the reverse DNS lookup hostname.
-noresolve useful when troubleshooting
no such volume and
volume moved errors.
Set the location of the configuration file to be used. The default file is /etc/yfs/yfs-client.conf.
Prints the online help for this command. All other valid options are ignored.
The following example illustrates the output that can appear when a volume operation was about to be attempted on the File Server on
but the process performing the operation was terminated before completion:
% vos status fs1.your-cell-name.com -------------------------------------------- transaction: 575 created: Fri Oct 16 16:55:54 2009 attachFlags: offline volume: 536871080 partition: /vicepb procedure: TransCreate -------------------------------------------- % vos endtrans fs1.your-cell-name.com 575 % vos status fs1.your-cell-name.com No active transactions on fs1.your-cell-name.com
The issuer must be listed in the /etc/yfs/server/UserListExt file on the File Server specified by the -server argument and on each Location Server. If the -localauth flag is included, the issuer must instead be logged on to a server with an account capable of reading the /etc/yfs/server/KeyFileExt file.
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.
"AFS" is a registered mark of International Business Machines Corporation, used under license. (USPTO Registration 1598389)
"OpenAFS" is a registered mark of International Business Machines Corporation. (USPTO Registration 4577045)
The "AuriStor" name, log 'S' brand mark, and icon are registered marks of AuriStor, Inc. (USPTO Registrations 4849419, 4849421, and 4928460) (EUIPO Registration 015539653).
"Your File System" is a registered mark of AuriStor, Inc. (USPTO Registrations 4801402 and 4849418).
"YFS" and "AuriStor File System" are trademarks of AuriStor, Inc.