3 vos_delentry - Removes a volume entry from the VLDB.
10 B<vos delentry> S<<< [B<-id> <I<volume name or ID>>+] >>>
11 S<<< [B<-prefix> <I<prefix of volume whose VLDB entry is to be deleted>>] >>>
12 S<<< [B<-server> <I<machine name>>] >>>
13 S<<< [B<-partition> <I<partition name>>] >>>
14 S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>] [B<-localauth>]
15 [B<-dryrun>] [B<-verbose>] [B<-encrypt>] [B<-noresolve>]
16 S<<< [B<-config> <I<config directory>>] >>>
19 B<vos de> S<<< [B<-i> <I<volume name or ID>>+] >>>
20 S<<< [B<-pr> <I<prefix of volume whose VLDB entry is to be deleted>>] >>>
21 S<<< [B<-s> <I<machine name>>] >>> S<<< [B<-pa> <I<partition name>>] >>>
22 S<<< [B<-c> <I<cell name>>] >>> [B<-noa>] [B<-l>]
23 [B<-d>] [B<-v>] [B<-e>] [B<-nor>]
24 S<<< [B<-co> <I<config directory>>] >>>
32 The B<vos delentry> command removes the Volume Location Database (VLDB)
33 entry for each specified volume. A specified volume can be any of the
34 three types (read/write, read-only, or backup), but the entire entry is
35 removed no matter which type is provided. The command has no effect on the
36 actual volumes on file server machines, if they exist.
38 This command is useful if a volume removal operation did not update the
39 VLDB (perhaps because the B<vos zap> command was used), but the system
40 administrator does not feel it is necessary to use the B<vos syncserv> and
41 B<vos syncvldb> commands to synchronize an entire file server machine.
43 To remove the VLDB entry for a single volume, use the B<-id> argument. To
44 remove groups of volumes, combine the B<-prefix>, B<-server>, and
45 B<-partition> arguments. The following list describes how to remove the
46 VLDB entry for the indicated group of volumes:
52 For every volume whose name begins with a certain character string (for
53 example, C<sys.> or C<user.>): use the B<-prefix> argument.
57 Every volume for which the VLDB lists a site on a certain file server
58 machine: specify the file server name with the B<-server> argument.
62 Every volume for which the VLDB lists a site on a partition of the same
63 name (for instance, on the F</vicepa> partition on any file server
64 machine): specify the partition name with the B<-partition> argument.
68 Every volume for which the VLDB lists a site one a specific partition of a
69 file server machine: specify both the B<-server> and B<-partition>
74 Every volume whose name begins with a certain prefix and for which the
75 VLDB lists a site on a file server machine: combine the B<-prefix> and
76 B<-server> arguments. Combine the B<-prefix> argument with the
77 B<-partition> argument, or both the B<-server> and B<-partition>
78 arguments, to remove a more specific group of volumes.
84 Do not use this command to remove a volume in normal circumstances; it
85 does not remove a volume from the file server machine, and so is likely to
86 make the VLDB inconsistent with state of the volumes on server
87 machines. Use the B<vos remove> command to remove both the volume and its
94 =item B<-id> <I<volume name or ID>>+
96 Specifies the complete name or the volume ID number of each volume for
97 which to remove the VLDB entry. The entire entry is removed, regardless of
98 whether the read/write, read-only, or backup version is indicated.
99 Provide this argument or some combination of the B<-prefix>, B<-server>,
100 and B<-partition> arguments.
102 =item B<-prefix> <I<prefix of volume entry>
104 Specifies a character string of any length; the VLDB entry for a volume
105 whose name begins with the string is removed. Include field separators
106 (such as periods) if appropriate. Combine this argument with the
107 B<-server> argument, B<-partition> argument, or both.
109 =item B<-server> <I<server name>>
111 Identifies a file server machine; if a volume's VLDB entry lists a site on
112 the machine, the entry is removed. Provide the machine's IP address or its
113 host name (either fully qualified or using an unambiguous
114 abbreviation). For details, see L<vos(1)>.
116 Combine this argument with the B<-prefix> argument, the B<-partition>
119 =item B<-partition> <I<partition name>>
121 Identifies a partition; if a volume's VLDB entry lists a site on the
122 partition, the entry is removed. Provide the partition's complete name
123 with preceding slash (for example, F</vicepa>) or use one of the three
124 acceptable abbreviated forms. For details, see L<vos(1)>.
126 Combine this argument with the B<-prefix> argument, the B<-server>
129 =item B<-cell> <I<cell name>>
131 Names the cell in which to run the command. Do not combine this argument
132 with the B<-localauth> flag. For more details, see L<vos(1)>.
136 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
137 combine this flag with the B<-localauth> flag. For more details, see
142 Constructs a server ticket using a key from the local
143 F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
144 to the Volume Server and Volume Location Server during mutual
145 authentication. Do not combine this flag with the B<-cell> argument or
146 B<-noauth> flag. For more details, see L<vos(1)>.
150 Show the actions which would be taken, but do not make changes.
154 Produces on the standard output stream a detailed trace of the command's
155 execution. If this argument is omitted, only warnings and error messages
160 Encrypts the command so that the operation's results are not transmitted
161 across the network in clear text. This option is available in OpenAFS
162 versions 1.4.11 or later and 1.5.60 or later.
166 Shows all servers as IP addresses instead of the DNS name. This is very
167 useful when the server address is registered as 127.0.0.1 or when dealing
168 with multi-homed servers. This option is available in OpenAFS
169 versions 1.4.8 or later and 1.5.35 or later.
173 Prints the online help for this command. All other valid options are
180 The following message confirms the success of the command by indicating
181 how many VLDB entries were removed.
183 Deleted <number> VLDB entries
187 The following command removes the VLDB entry for the volume C<user.temp>.
189 % vos delentry user.temp
191 The following command removes the VLDB entry for every volume whose name
192 begins with the string C<test> and for which the VLDB lists a site on the
193 file server machine C<fs3.example.com>.
195 % vos delentry -prefix test -server fs3.example.com
197 =head1 PRIVILEGE REQUIRED
199 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
200 machine specified with the B<-server> argument and on each database server
201 machine. If the B<-localauth> flag is included, the issuer must instead be
202 logged on to a server machine as the local superuser C<root>.
214 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
216 This documentation is covered by the IBM Public License Version 1.0. It was
217 converted from HTML to POD by software written by Chas Williams and Russ
218 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.