Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / vos_delentry.pod.in
CommitLineData
805e021f
CE
1=head1 NAME
2
3vos_delentry - Removes a volume entry from the VLDB.
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<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>>] >>>
17 [B<-help>]
18
19B<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>>] >>>
25 [B<-h>]
26
27=for html
28</div>
29
30=head1 DESCRIPTION
31
32The B<vos delentry> command removes the Volume Location Database (VLDB)
33entry for each specified volume. A specified volume can be any of the
34three types (read/write, read-only, or backup), but the entire entry is
35removed no matter which type is provided. The command has no effect on the
36actual volumes on file server machines, if they exist.
37
38This command is useful if a volume removal operation did not update the
39VLDB (perhaps because the B<vos zap> command was used), but the system
40administrator does not feel it is necessary to use the B<vos syncserv> and
41B<vos syncvldb> commands to synchronize an entire file server machine.
42
43To remove the VLDB entry for a single volume, use the B<-id> argument. To
44remove groups of volumes, combine the B<-prefix>, B<-server>, and
45B<-partition> arguments. The following list describes how to remove the
46VLDB entry for the indicated group of volumes:
47
48=over 4
49
50=item *
51
52For every volume whose name begins with a certain character string (for
53example, C<sys.> or C<user.>): use the B<-prefix> argument.
54
55=item *
56
57Every volume for which the VLDB lists a site on a certain file server
58machine: specify the file server name with the B<-server> argument.
59
60=item *
61
62Every volume for which the VLDB lists a site on a partition of the same
63name (for instance, on the F</vicepa> partition on any file server
64machine): specify the partition name with the B<-partition> argument.
65
66=item *
67
68Every volume for which the VLDB lists a site one a specific partition of a
69file server machine: specify both the B<-server> and B<-partition>
70arguments.
71
72=item *
73
74Every volume whose name begins with a certain prefix and for which the
75VLDB lists a site on a file server machine: combine the B<-prefix> and
76B<-server> arguments. Combine the B<-prefix> argument with the
77B<-partition> argument, or both the B<-server> and B<-partition>
78arguments, to remove a more specific group of volumes.
79
80=back
81
82=head1 CAUTIONS
83
84Do not use this command to remove a volume in normal circumstances; it
85does not remove a volume from the file server machine, and so is likely to
86make the VLDB inconsistent with state of the volumes on server
87machines. Use the B<vos remove> command to remove both the volume and its
88VLDB entry.
89
90=head1 OPTIONS
91
92=over 4
93
94=item B<-id> <I<volume name or ID>>+
95
96Specifies the complete name or the volume ID number of each volume for
97which to remove the VLDB entry. The entire entry is removed, regardless of
98whether the read/write, read-only, or backup version is indicated.
99Provide this argument or some combination of the B<-prefix>, B<-server>,
100and B<-partition> arguments.
101
102=item B<-prefix> <I<prefix of volume entry>
103
104Specifies a character string of any length; the VLDB entry for a volume
105whose name begins with the string is removed. Include field separators
106(such as periods) if appropriate. Combine this argument with the
107B<-server> argument, B<-partition> argument, or both.
108
109=item B<-server> <I<server name>>
110
111Identifies a file server machine; if a volume's VLDB entry lists a site on
112the machine, the entry is removed. Provide the machine's IP address or its
113host name (either fully qualified or using an unambiguous
114abbreviation). For details, see L<vos(1)>.
115
116Combine this argument with the B<-prefix> argument, the B<-partition>
117argument, or both.
118
119=item B<-partition> <I<partition name>>
120
121Identifies a partition; if a volume's VLDB entry lists a site on the
122partition, the entry is removed. Provide the partition's complete name
123with preceding slash (for example, F</vicepa>) or use one of the three
124acceptable abbreviated forms. For details, see L<vos(1)>.
125
126Combine this argument with the B<-prefix> argument, the B<-server>
127argument, or both.
128
129=item B<-dryrun>
130
131Show the actions which would be taken, but do not make changes.
132
133=include fragments/vos-common.pod
134
135=back
136
137=head1 OUTPUT
138
139The following message confirms the success of the command by indicating
140how many VLDB entries were removed.
141
142 Deleted <number> VLDB entries
143
144=head1 EXAMPLES
145
146The following command removes the VLDB entry for the volume C<user.temp>.
147
148 % vos delentry user.temp
149
150The following command removes the VLDB entry for every volume whose name
151begins with the string C<test> and for which the VLDB lists a site on the
152file server machine C<fs3.example.com>.
153
154 % vos delentry -prefix test -server fs3.example.com
155
156=head1 PRIVILEGE REQUIRED
157
158The issuer must be listed in the F</usr/afs/etc/UserList> file on the
159machine specified with the B<-server> argument and on each database server
160machine. If the B<-localauth> flag is included, the issuer must instead be
161logged on to a server machine as the local superuser C<root>.
162
163=head1 SEE ALSO
164
165L<vos(1)>,
166L<vos_remove(1)>,
167L<vos_syncserv(1)>,
168L<vos_syncvldb(1)>,
169L<vos_zap(1)>
170
171=head1 COPYRIGHT
172
173IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
174
175This documentation is covered by the IBM Public License Version 1.0. It was
176converted from HTML to POD by software written by Chas Williams and Russ
177Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.