backport to buster
[hcoop/debian/openafs.git] / doc / man-pages / pod1 / vos_offline.pod.in
CommitLineData
805e021f
CE
1=head1 NAME
2
3vos_offline - Takes a volume offline
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<vos offline> S<<< B<-server> <I<machine name>> >>>
11 S<<< B<-partition> <I<partition name>> >>>
12 S<<< B<-id> <I<volume name or ID>> >>>
13 S<<< [B<-sleep> <I<seconds to sleep>>] >>>
14 [B<-busy>] S<<< [B<-cell> <I<cell name>>] >>>
15 [B<-noauth>] B<-localauth>]
16 [B<-verbose>] [B<-encrypt>] [B<-noresolve>]
17 S<<< [B<-config> <I<config directory>>] >>>
18 [B<-help>]
19
20B<vos of> S<<< B<-se> <I<machine name>> >>>
21 S<<< B<-p> <I<partition name>> >>>
22 S<<< B<-i> <I<volume name or ID>> >>>
23 S<<< [B<-sl> <I<seconds to sleep>>] >>>
24 [B<-b>] S<<< [B<-c> <I<cell name>>] >>>
25 [B<-noa>] B<-l>]
26 [B<-v>] [B<-e>] [B<-nor>]
27 S<<< [B<-co> <I<config directory>>] >>>
28 [B<-h>]
29
30=for html
31</div>
32
33=head1 DESCRIPTION
34
35The B<vos offline> command takes a volume offline on the
36B<fileserver>.
37
38=head1 CAUTIONS
39
40Taking a volume offline that has existing
41callbacks will result in those callbacks being broken
42and clients not being able to access the volume.
43
44=head1 OPTIONS
45
46=over 4
47
48=item B<-server> <I<machine name>>
49
50Identifies the file server machine where the volume resides.
51Provide the machine's IP address or its host name (either fully
52qualified or using an unambiguous abbreviation). For details, see
53L<vos(1)>.
54
55=item B<-partition> <I<partition name>>
56
57Identifies the partition where the volume resides, on the
58file server machine named by the B<-server> argument. Provide the
59partition's complete name with preceding slash (for example, C</vicepa>)
60or use one of the three acceptable abbreviated forms. For details, see
61L<vos(1)>.
62
63=item B<-id> <I<volume name or ID>>
64
65Specifies either the complete name or volume ID number of the volume.
66
67=item B<-sleep> <I<seconds to sleep>>
68
69Specifies to sleep for a certain number of seconds after taking the
70volume offline before bringing it online again. If this option is
71specified, the volume will be online when B<vos offline> successfully
72completes. If this option is not specified, B<vos online> must be run to
73bring the volume online.
74
75=item B<-busy>
76
77Specifies to mark the volume as `busy' instead of `offline'. This
78means that a program trying to access this volume will receive a VBUSY
79error instead of a VOFFLINE error (until the volume is brought back
80online).
81
82Different programs may react differently when they see these two
83different states, but in general a `busy' volume is only unavailable
84for a short period of time and will become online soon. An `offline'
85volume, on the other hand, is typically unavailable for longer periods
86and may not come back online until an administrator intervenes.
87
88As an example of when these states occur normally, a volume can be
89`busy' when it is being cloned (perhaps as the result of a
90B<vos backup> or B<vos release> operation). A volume can be `offline'
91if a non-DAFS fileserver has detected a problem in the volume, and an
92administrator must manually schedule a salvage for that volume before
93it becomes available again.
94
95If B<-busy> is specified, the B<-sleep> option must also be specified, to
96indicate for how long to keep the volume busy.
97
98=include fragments/vos-common.pod
99
100=back
101
102=head1 EXAMPLES
103
104The following example takes an online volume offline:
105
106 % vos offline -server sv7.example.org -partition /vicepb -id root.afs
107
108=head1 PRIVILEGE REQUIRED
109
110The issuer must be listed in the F</usr/afs/etc/UserList> file on the
111machine specified with the B<-server> argument and on each database server
112machine. If the B<-localauth> flag is included, the issuer must instead be
113logged on to a server machine as the local superuser C<root>.
114
115=head1 SEE ALSO
116
117L<vos(1)>,
118L<vos_online(1)>,
119L<bos_salvage(8)>,
120
121=head1 COPYRIGHT
122
123IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
124
125This man page was created by Steven Jenkins.