summaryrefslogtreecommitdiff
path: root/usr.sbin/afs/vos/vos.8
blob: 6646e6bfa570dca7f7db648d3210096de5429326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
.Dd March 26, 2000
.Dt VOS 1
.Os
.Sh NAME
.Nm vos
.Nd Manage AFS volumes and the VLDB.
.Sh SYNOPSIS
.Nm vos
.Op Ar command
.Op Ar args
.Sh DESCRIPTION
The
.Nm
utility is used to manage AFS volumes and the volume location database (VLDB).
.Pp
.Nm
provides several commands:
.Pp
.Bl -tag -width Fl -compact
.It Cm addsite
not yet implemented
.It Cm apropos
apropos
.It Cm backup
not yet implemented
.It Cm backupsys
not yet implemented
.It Cm changeaddr
not yet implemented
.It Cm create
create a volume
.It Cm createentry
create a vldb entry
.It Cm delentry
not yet implemented
.It Cm dump
dump a volume
.It Cm endtrans
end a transaction
.It Cm examine
print information about a volume
.It Cm volinfo
print information about a volume
.It Cm help
print help
.It Cm ?
print help
.It Cm listpart
list partitions on a server
.It Cm listvldb
list volumes in volume-location-database
.It Cm listvol
list volumes on a server
.It Cm lock
not yet implemented
.It Cm move
not yet implemented
.It Cm partinfo
print partition information on a server
.It Cm release
not yet implemented
.It Cm remove
not yet implemented
.It Cm remsite
not yet implemented
.It Cm rename
not yet implemented
.It Cm restore
not yet implemented
.It Cm status
Show volume server transactions
.It Cm syncserv
not yet implemented
.It Cm syncvldb
not yet implemented
.It Cm syncsite
print the syncsite
.It Cm unlock
not yet implemented
.It Cm unlockvldb
not yet implemented
.It Cm zap
not yet implemented
.It Cm quit
exit interactive mode
.El
.Pp
Most
.Nm
commands accept the following general arguments:
.Pp
.Bd -filled -offset indent -compact
.Op Fl cell Ar cellname
Specifies which AFS cell to use, if the default cell is not to be used.
.Pp
.Op Fl noauth
Specifies that
.Nm
should not try to authenticate the connection to the server. This may be
useful with shell scripts, or if there is a problem with the AFS cell.
Note that the server will reject many commands if
.Fl noauth
is specified.
.Pp
.Op Fl localauth
Create a ticket using the AFS server key, that is, you don't need a token.
This will generally only work on AFS servers, and is very useful for
performing automatic tasks.
.Ed
.Pp
The syntax of the
.Nm
commands:
.Pp
.Nm vos addsite
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos apropos
.Bd -filled -offset indent -compact
apropos
.Ed
.Pp
.Nm vos backup
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos backupsys
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos changeaddr
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos create
.Op Fl server
.Ar fileserver
.Op Fl part
.Ar partition
.Op Fl volume
.Ar "volume name"
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl localauth
.Op Fl verbose
.Bd -filled -offset indent -compact
Create a new volume named
.Ar "volume name"
on server
.Ar fileserver
partition
.Ar partition.
.Ed
.Pp
.Nm vos createentry
.Op Fl id
.Ar "id of volume"
.Op Fl host
.Ar "host to use"
.Op Fl fsserver
.Ar fileserver
.Op Fl rw
.Ar "volume RW number"
.Op Fl ro
.Ar "volume RO number"
.Op Fl bk
.Ar "volume BK number"
.Op Fl noauth
.Op Fl localauth
.Bd -filled -offset indent -compact
Create a vldb entry manually. This command should
.Em not
be used unless you know
.Em exactly
what you are doing.
.Ed
.Pp
.Nm vos delentry
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos dump
.Op Fl id
.Ar volume
.Op Fl server Ar fileserver
.Op Fl partition Ar partition
.Op Fl cell Ar cellname
.Op Fl file Ar filename
.Op Fl noauth
.Op Fl localauth
.Op Fl verbose
.Bd -filled -offset indent -compact
Dump a volume to a file.
.Ed
.Pp
.Nm vos endtrans
.Op Fl server
.Ar server
.Op Fl trans
.Ar transaction
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl verbose 
.Bd -filled -offset indent -compact
End a transaction. XXX what is this?
.Ed
.Pp
.Nm vos examine
.Op Fl id
.Ar volume
.Op Fl host
.Ar server
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl localauth
.Op Fl verbose
.Op Fl extended
.Bd -filled -offset indent -compact
Print information about a volume.
.Ed
.Pp
.Nm vos volinfo
.Bd -filled -offset indent -compact
.Nm vos volinfo
is an alias for the
.Nm vos examine
command.
.Ed
.Pp
.Nm vos help
.Bd -filled -offset indent -compact
print help
.Ed
.Pp
.Nm vos ?
.Bd -filled -offset indent -compact
.Nm vos ?
is an alias for the
.Nm vos help
command.
.Ed
.Pp
.Nm vos listpart
.Op Fl server
.Ar fileserver
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl localauth
.Op Fl verbose
.Bd -filled -offset indent -compact
List partitions on a fileserver.
.Ed
.Pp
.Nm vos listvldb
.Op Fl server
.Ar fileserver
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl localauth
.Op Fl verbose
.Bd -filled -offset indent -compact
List volumes in the volume location database without reading them on the
fileserver.
.Ed
.Pp
.Nm vos listvol
.Op Fl server
.Ar fileserver
.Op Fl partition
.Ar partition
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl localauth
.Op Fl verbose
.Bd -filled -offset indent -compact
List volumes on a fileserver, without consulting the volume location database.
.Ed
.Pp
.Nm vos lock
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos move
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos partinfo
.Op Fl server
.Ar fileserver
.Op Fl partition
.Ar partition
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl localauth
.Op Fl verbose
.Bd -filled -offset indent -compact
Print the total and remaining diskspace on a fileserver.
.Ed
.Pp
.Nm vos release
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos remove
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos remsite
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos rename
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos restore
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos status
.Op Fl server
.Ar fileserver
.Op Fl cell Ar cellname
.Op Fl noauth
.Op Fl verbose
.Bd -filled -offset indent -compact
Show volume server transactions.
.Ed
.Pp
.Nm vos syncserv
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos syncvldb
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos syncsite
.Bd -filled -offset indent -compact
print the syncsite
.Ed
.Pp
.Nm vos unlock
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos unlockvldb
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos zap
.Bd -filled -offset indent -compact
not yet implemented
.Ed
.Pp
.Nm vos quit
.Bd -filled -offset indent -compact
Exit interactive mode.
.Ed
.Sh SEE ALSO
.Xr afsd 8 ,
.Xr pts 1 ,
.Xr fs 1
.Sh STANDARDS
The Arla authors are trying to mimic the behaviour of the original AFS
utilities.
.Sh AUTHORS
The Arla project <http://www.stacken.kth.se/project/arla/>.
.Sh BUGS
Quite a lot of commands are not implemented yet.