1 .\" Copyright (c) 2000 - 2005 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden).
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
16 .\" 3. Neither the name of the Institute nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 .Os "The Arla Project"
39 .Nd Manage AFS directories
47 utility is used to manipulate the AFS filesystem.
52 modify the traditional
54 filesystem, only files in AFS.
58 utility provides several commands:
60 .Bl -tag -width setmaxpriority -compact
62 locate commands by keyword
64 tweek arla-debugging flags
66 check if servers are up
68 check that all volume mapping are correct
74 show free partition space
78 remove file from cache
80 remove volumedata (and files in volume) from cache
85 .It Cm getcalleraccess
86 get current user's access permisssions
100 get statistics from the cache manager
102 get priority of a file/dir
107 .It Cm getmaxpriority
108 get max priority for a file gc
117 report interface of the pioctl interface
125 list cells that the cache handler can communicate with
149 set remote logging host
155 leave interactive mode
157 leave interactive mode
160 .It Cm removepriority
161 remove priority from file/directory
167 add an acl entry on a directory
173 change disk cache size
177 set priority of a file/directory
182 .It Cm setmaxpriority
183 set upper limit of prio gc
189 change quota on a volume
194 .It Cm setserverprefs
197 set encryption on/off
205 get version of fs and fs_lib
207 make arlad print status
209 show server(s) of file
213 display cell of workstation
215 tweek nnpfs-debugging flags
217 make nnpfs print debug info
220 .Bd -filled -offset indent -compact
227 .Bd -filled -offset indent -compact
228 Locate commands by keyword
233 .Bd -filled -offset indent -compact
234 Tweek arla-debugging flags.
238 .Op Fl cell Ar cellname
240 .Bd -filled -offset indent -compact
241 Check if the servers in a cell are available.
244 is specified, the servers are not contactad; only internal information is
249 .Bd -filled -offset indent -compact
250 Check that all volume mapping are correct and flush all mountpoints
251 from the cache to force them to be reread.
255 .Bd -filled -offset indent -compact
260 .Bd -filled -offset indent -compact
266 .Bd -filled -offset indent -compact
267 Show free space on the partition where the file or directory
274 .Bd -filled -offset indent -compact
275 Print detailed information about the volume mounted on the specified
277 or the current directory.
282 .Bd -filled -offset indent -compact
285 from the cache, causing it to be stored on the fileserver.
290 .Bd -filled -offset indent -compact
291 Flush all the files in the volume where the
293 is stored, causing them to be stored on the fileserver.
294 Meta information about the volume is also flushed.
298 .Bd -filled -offset indent -compact
299 Remove unused PAGs from the kernel.
303 .Bd -filled -offset indent -compact
304 Print information about cache usage.
307 .Ic fs getcalleraccess
309 .Bd -filled -offset indent -compact
310 Show current user's permissions for the specified
312 or the current directory.
317 .Bd -filled -offset indent -compact
324 .Bd -filled -offset indent -compact
325 Display whether traffic between the client and server is encrypted.
330 .Bd -filled -offset indent -compact
331 Indicate if the setuid bit on executable files are honored for
337 .Bd -filled -offset indent -compact
338 Print fid information for a file.
341 .Ic fs getserverprefs
342 .Bd -filled -offset indent -compact
347 .Bd -filled -offset indent -compact
348 Get statistics from the cache manager. Possible type to get statistics
349 for are fetchstatus, fetchdata, storestatus, storedata, bulkstatus.
353 .Bd -filled -offset indent -compact
354 Display priority of a file or directory.
358 .Bd -filled -offset indent -compact
364 .Ic fs getmaxpriority
365 .Bd -filled -offset indent -compact
366 Display max priority for a file.
370 .Bd -filled -offset indent -compact
377 .Bd -filled -offset indent -compact
383 .Bd -filled -offset indent -compact
384 Returns what interface of the pioctl interface currently is in use.
389 .Bd -filled -offset indent -compact
390 Show acl for the specified
392 or the current directory.
397 .Bd -filled -offset indent -compact
404 .Bd -filled -offset indent -compact
405 List cells that the cache handler can communicate with.
406 These are the cells listed in the file
412 .Bd -filled -offset indent -compact
413 Show the quota for the volume of the specified
415 or the current directory.
420 .Bd -filled -offset indent -compact
427 .Bd -filled -offset indent -compact
435 .Bd -filled -offset indent -compact
440 .Bd -filled -offset indent -compact
449 .Bd -filled -offset indent -compact
450 Create a mountpoint pointing to
456 is given, a mountpoint to the readwrite volume is created.
458 Note that there must not exist a directory named like
459 the mount point you are creating.
464 .Bd -filled -offset indent -compact
465 Set or get connected mode, if a
467 is specified, the cache manager will be set to that mode.
468 If not, the current mode will be printed.
471 .Bl -tag -width -Fl -compact
473 Connected mode - this is the normal operating mode.
475 Fetch only mode - files are retrieved from fileserver but are not stored back.
477 Disconnected mode - files are read and written from/to the cache, and no
478 attempt is made to contact a fileserver-
481 Disconnected mode is very useful for machines that are not connected to
482 the network at all times, such as laptops.
483 Disconnected mode is to be considered very experimental at this stage.
487 .Bd -filled -offset indent -compact
493 .Fl servers Ar vldb-servers
495 .Bd -filled -offset indent -compact
496 Add a new cell to the running configuration of the cache manager, or update
497 already existing information.
498 This information should also be entered in the file
499 .Pa /usr/arla/etc/CellServDB .
503 .Bd -filled -offset indent -compact
505 This is useful for debugging.
509 .Bd -filled -offset indent -compact
510 Leave interactive mode.
514 .Bd -filled -offset indent -compact
515 Leave interactive mode.
520 .Bd -filled -offset indent -compact
525 .Ic fs removepriority
527 .Bd -filled -offset indent -compact
528 Remove priority from file or directory
533 .Bd -filled -offset indent -compact
542 .Bd -filled -offset indent -compact
543 Add an acl entry on a directory.
544 Each entry consists of two components:
545 a user or group and a character string describing the permissions granted
546 for that user or group.
547 These characters and the permission they represent are:
548 .Bl -tag -width Fl -compact
558 write (change) the files
562 administer the acl, that is, to change the acl
565 There are also a few convinience strings recognized by
567 .Bl -tag -width Fl -compact
569 removes all permissions.
571 adds 'rl' permissions, which are suitable for a read-only directory.
573 adds all permissions except 'a', that is, the user/group can read, write,
574 delete etc. but not change the acl of the directory.
579 Note that in AFS you set the permissions on a directory, and the permissions
580 of a file are those of their directory.
581 So, if you move a file from one
582 directory to another, you might change the permission of the file, as
583 the two directories may have different permissions.
587 permission bits only the user part is honored, and is used for any
588 user permissioned by the directorys acl.
589 The group and world permission bits are ignored, but they are stored.
595 .Bd -filled -offset indent -compact
603 .Op Ar highvnodes Ar lowbytes Ar highbytes
604 .Bd -filled -offset indent -compact
605 Set the size of the disk cache.
609 .Bd -filled -offset indent -compact
616 .Bd -filled -offset indent -compact
617 Set priority of a file/directory.
621 .Bd -filled -offset indent -compact
627 .Ic fs setmaxpriority
629 .Bd -filled -offset indent -compact
630 Set upper limit of priority.
634 .Bd -filled -offset indent -compact
643 .Bd -filled -offset indent -compact
646 (in Kbytes) on a volume pointed out by
651 .Bd -filled -offset indent -compact
657 .Ic fs setserverprefs
658 .Bd -filled -offset indent -compact
664 .Bd -filled -offset indent -compact
667 is specified, encryption of the traffic to/from fileservers is
670 is specified, it is enabled.
674 .Bd -filled -offset indent -compact
679 .Bd -filled -offset indent -compact
680 Print cells and whether setuid execution is allowed for them.
685 .Bd -filled -offset indent -compact
686 Get or set the value of the '@sys' value.
690 .Bd -filled -offset indent -compact
691 Print version of fs and fs_lib.
695 .Bd -filled -offset indent -compact
696 Make arlad print status.
701 .Bd -filled -offset indent -compact
702 Show server(s) of the specified file or the current directory.
707 .Bd -filled -offset indent -compact
708 Show cell of a file or the current directory.
712 .Bd -filled -offset indent -compact
713 Display default cell of the client.
717 .Bd -filled -offset indent -compact
718 Tweek nnpfs-debugging flags
723 .Bd -filled -offset indent -compact
724 Make nnpfs print debug info.
732 The Arla authors are trying to mimic the behaviour of the original AFS
735 The Arla project <http://www.stacken.kth.se/project/arla/>.
737 Some commands are not implemented yet.