3 vos_lock - Locks a VLDB volume entry
10 B<vos lock> S<<< B<-id> <I<volume name or ID>> >>>
11 S<<< [B<-cell> <I<cell name>>] >>>
12 [B<-noauth>] [B<-localauth>]
13 [B<-verbose>] [B<-encrypt>] [B<-noresolve>]
14 S<<< [B<-config> <I<config directory>>] >>>
17 B<vos lo> S<<< B<-i> <I<volume name or ID>> >>>
18 S<<< [B<-c> <I<cell name>>] >>>
19 [B<-noa>] [B<-l>] [B<-v>] [B<-e>] [B<-nor>]
20 S<<< [B<-co> <I<config directory>>] >>>
28 The B<vos lock> command locks the Volume Location Database (VLDB) entry
29 for the indicated volume, blocking any operation that requires a write to
30 that entry. The lock applies to all of the volume versions associated with
31 the entry, not just the one specified with the B<-id> argument.
33 To unlock a single VLDB entry, use the B<vos unlock> command. To unlock
34 several entries, or all locked entries in the VLDB, use the B<vos
39 Do not use this command in normal circumstances. It is useful for
40 guaranteeing that the volume stays unchanged when there is reason to
41 believe that volume operations cannot properly lock VLDB volume entries as
42 they normally do to synchronize with one another.
48 =item B<-id> <I<volume name or ID>>
50 Specifies either the complete name or volume ID number of a volume of the
51 any of the three types.
53 =item B<-cell> <I<cell name>>
55 Names the cell in which to run the command. Do not combine this argument
56 with the B<-localauth> flag. For more details, see L<vos(1)>.
60 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
61 combine this flag with the B<-localauth> flag. For more details, see
66 Constructs a server ticket using a key from the local
67 F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
68 to the Volume Server and Volume Location Server during mutual
69 authentication. Do not combine this flag with the B<-cell> argument or
70 B<-noauth> flag. For more details, see L<vos(1)>.
74 Produces on the standard output stream a detailed trace of the command's
75 execution. If this argument is omitted, only warnings and error messages
80 Encrypts the command so that the operation's results are not transmitted
81 across the network in clear text. This option is available in OpenAFS
82 versions 1.4.11 or later and 1.5.60 or later.
86 Shows all servers as IP addresses instead of the DNS name. This is very
87 useful when the server address is registered as 127.0.0.1 or when dealing
88 with multi-homed servers. This option is available in OpenAFS
89 versions 1.4.8 or later and 1.5.35 or later.
93 Prints the online help for this command. All other valid options are
100 The following command locks the VLDB entry for C<user.terry>.
102 % vos lock user.terry
104 =head1 PRIVILEGE REQUIRED
106 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
107 machine specified with the B<-server> argument and on each database server
108 machine. If the B<-localauth> flag is included, the issuer must instead be
109 logged on to a server machine as the local superuser C<root>.
119 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
121 This documentation is covered by the IBM Public License Version 1.0. It was
122 converted from HTML to POD by software written by Chas Williams and Russ
123 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.