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>] [B<-help>]
17 B<vos de> S<<< [B<-i> <I<volume name or ID>>+] >>>
18 S<<< [B<-pr> <I<prefix of volume whose VLDB entry is to be deleted>>] >>>
19 S<<< [B<-s> <I<machine name>>] >>> S<<< [B<-pa> <I<partition name>>] >>>
20 S<<< [B<-c> <I<cell name>>] >>> [B<-noa>] [B<-l>]
21 [B<-d>] [B<-v>] [B<-e>] [B<-nor>] [B<-h>]
28 The B<vos delentry> command removes the Volume Location Database (VLDB)
29 entry for each specified volume. A specified volume can be any of the
30 three types (read/write, read-only, or backup), but the entire entry is
31 removed no matter which type is provided. The command has no effect on the
32 actual volumes on file server machines, if they exist.
34 This command is useful if a volume removal operation did not update the
35 VLDB (perhaps because the B<vos zap> command was used), but the system
36 administrator does not feel it is necessary to use the B<vos syncserv> and
37 B<vos syncvldb> commands to synchronize an entire file server machine.
39 To remove the VLDB entry for a single volume, use the B<-id> argument. To
40 remove groups of volumes, combine the B<-prefix>, B<-server>, and
41 B<-partition> arguments. The following list describes how to remove the
42 VLDB entry for the indicated group of volumes:
48 For every volume whose name begins with a certain character string (for
49 example, C<sys.> or C<user.>): use the B<-prefix> argument.
53 Every volume for which the VLDB lists a site on a certain file server
54 machine: specify the file server name with the B<-server> argument.
58 Every volume for which the VLDB lists a site on a partition of the same
59 name (for instance, on the F</vicepa> partition on any file server
60 machine): specify the partition name with the B<-partition> argument.
64 Every volume for which the VLDB lists a site one a specific partition of a
65 file server machine: specify both the B<-server> and B<-partition>
70 Every volume whose name begins with a certain prefix and for which the
71 VLDB lists a site on a file server machine: combine the B<-prefix> and
72 B<-server> arguments. Combine the B<-prefix> argument with the
73 B<-partition> argument, or both the B<-server> and B<-partition>
74 arguments, to remove a more specific group of volumes.
80 Do not use this command to remove a volume in normal circumstances; it
81 does not remove a volume from the file server machine, and so is likely to
82 make the VLDB inconsistent with state of the volumes on server
83 machines. Use the B<vos remove> command to remove both the volume and its
90 =item B<-id> <I<volume name or ID>>+
92 Specifies the complete name or the volume ID number of each volume for
93 which to remove the VLDB entry. The entire entry is removed, regardless of
94 whether the read/write, read-only, or backup version is indicated.
95 Provide this argument or some combination of the B<-prefix>, B<-server>,
96 and B<-partition> arguments.
98 =item B<-prefix> <I<prefix of volume entry>
100 Specifies a character string of any length; the VLDB entry for a volume
101 whose name begins with the string is removed. Include field separators
102 (such as periods) if appropriate. Combine this argument with the
103 B<-server> argument, B<-partition> argument, or both.
105 =item B<-server> <I<server name>>
107 Identifies a file server machine; if a volume's VLDB entry lists a site on
108 the machine, the entry is removed. Provide the machine's IP address or its
109 host name (either fully qualified or using an unambiguous
110 abbreviation). For details, see L<vos(1)>.
112 Combine this argument with the B<-prefix> argument, the B<-partition>
115 =item B<-partition> <I<partition name>>
117 Identifies a partition; if a volume's VLDB entry lists a site on the
118 partition, the entry is removed. Provide the partition's complete name
119 with preceding slash (for example, F</vicepa>) or use one of the three
120 acceptable abbreviated forms. For details, see L<vos(1)>.
122 Combine this argument with the B<-prefix> argument, the B<-server>
125 =item B<-cell> <I<cell name>>
127 Names the cell in which to run the command. Do not combine this argument
128 with the B<-localauth> flag. For more details, see L<vos(1)>.
132 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
133 combine this flag with the B<-localauth> flag. For more details, see
138 Constructs a server ticket using a key from the local
139 F</usr/afs/etc/KeyFile> file. The B<vos> command interpreter presents it
140 to the Volume Server and Volume Location Server during mutual
141 authentication. Do not combine this flag with the B<-cell> argument or
142 B<-noauth> flag. For more details, see L<vos(1)>.
146 Show the actions which would be taken, but do not make changes.
150 Produces on the standard output stream a detailed trace of the command's
151 execution. If this argument is omitted, only warnings and error messages
156 Encrypts the command so that the operation's results are not transmitted
157 across the network in clear text. This option is available in OpenAFS
158 versions 1.4.11 or later and 1.5.60 or later.
162 Shows all servers as IP addresses instead of the DNS name. This is very
163 useful when the server address is registered as 127.0.0.1 or when dealing
164 with multi-homed servers. This option is available in OpenAFS
165 versions 1.4.8 or later and 1.5.35 or later.
169 Prints the online help for this command. All other valid options are
176 The following message confirms the success of the command by indicating
177 how many VLDB entries were removed.
179 Deleted <number> VLDB entries
183 The following command removes the VLDB entry for the volume C<user.temp>.
185 % vos delentry user.temp
187 The following command removes the VLDB entry for every volume whose name
188 begins with the string C<test> and for which the VLDB lists a site on the
189 file server machine C<fs3.abc.com>.
191 % vos delentry -prefix test -server fs3.abc.com
193 =head1 PRIVILEGE REQUIRED
195 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
196 machine specified with the B<-server> argument and on each database server
197 machine. If the B<-localauth> flag is included, the issuer must instead be
198 logged on to a server machine as the local superuser C<root>.
210 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
212 This documentation is covered by the IBM Public License Version 1.0. It was
213 converted from HTML to POD by software written by Chas Williams and Russ
214 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.