NAME
fs
—
Manage AFS directories
SYNOPSIS
fs |
[command] [args] |
DESCRIPTION
The fs
utility is used to manipulate the
AFS filesystem. Note that the fs
utility does
not modify
the traditional UNIX filesystem, only files in
AFS.
The fs
utility provides several
commands:
apropos
- locate commands by keyword
arladebug
- tweek arla-debugging flags
checkservers
- check if servers are up
checkvolumes
- check that all volume mapping are correct
cleanacl
- not yet implemented
copyacl
- not yet implemented
diskfree
- show free partition space
examine
- examine volume status
flush
- remove file from cache
flushvolume
- remove volumedata (and files in volume) from cache
gcpags
- garbage collect pags
getcacheparms
- get cache usage
getcrypt
- get encrypt status
getcellstatus
- get suid cell status
getfid
- get fid
getserverprefs
- not yet implemented
getstatistics
- get statistics from the cache manager
getpriority
- get priority of a file/dir
gp
- shorthand for the
getpriority
command getmaxpriority
- get max priority for a file gc
gmp
- shorthand for the
getmaxpriority
command help
- get help for
fs
incompat
- report interface of the pioctl interface
listacl
- show acl
la
- shorthand for the
listacl
command listcells
- list cells that the cache handler can communicate with
listquota
- show volume quota
lq
- shorthand for the
listquota
command quota
- shorthand for the
listquota
command lsmount
- show a mount point
messages
- not yet implemented
mkmount
- create mount point
mkm
- shorthand of the
mkmount
command connect
- connect mode
monitor
- set remote logging host
newcell
- add new cell
nop
- do a pioctl-nop
quit
- leave interactive mode
exit
- leave interactive mode
rmmount
- delete a mount point
removepriority
- remove priority from file/directory
rmp
- shorthand for the
removepriority
command setacl
- add an acl entry on a directory
sa
- shorthand for the
setacl
command setcachesize
- change disk cache size
setcell
- change cell status
setpriority
- set priority of a file/directory
sp
- shorthand for the
setpriority
command setmaxpriority
- set upper limit of prio gc
smq
- shorthand for the
setmaxpriority
command. setquota
- change quota on a volume
sq
- shorthand for the
setquota
command setserverprefs
- not yet implemented
setcrypt
- set encryption on/off
setvol
- not yet implemented
suidcells
- list status of cells
sysname
- read/change sysname
version
- get version of fs and fs_lib
venuslog
- make arlad print status
whereis
- show server(s) of file
whichcell
- show cell of file
wscell
- display cell of workstation
nnpfsdebug
- tweek nnpfs-debugging flags
nnpfsprint
- make nnpfs print debug info
Most fs
commands accept the following
general arguments:
-cell
cellname] Specifies which AFS cell to use, if the
default cell is not to be used.
[-noauth
] Specifies that
fs
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
-noauth
is specified.
fs
commands:
fs apropos
fs arladebug
[flags]
[-cell
cellname]
[-noauth
]
fs checkservers
[-cell
cellname]
[-noauth
] [-nopoll
]
-nopoll
is specified, the servers are not contactad;
only internal information is printed.fs checkvolumes
fs cleanacl
fs copyacl
fs diskfree
path
fs examine
[path]
fs flush
file
fs flushvolume
file
fs gcpags
fs getcacheparms
fs getcrypt
fs getcellstatus
cellname
fs getfid
path
fs getserverprefs
fs getstatistics
fs getpriority
fs gp
getpriority
commandfs getmaxpriority
fs gmp
[-cell
cellname] [-noauth
]
getmaxpriority
command.fs help
[-cell
cellname] [-noauth
]
fs
fs incompat
fs listacl
path
fs la
[-cell
cellname] [-noauth
]
listacl
command.fs listcells
fs listquota
[path]
fs lq
[path]
listquota
commandfs quota
[-cell
cellname] [-noauth
]
listquota
command.fs lsmount
path
fs messages
fs mkmount
directory
volume [-cell
cell] [-rw
]
-rw
is given, a mountpoint to the readwrite volume is
created.
Note that there must not exist a directory named like the mount point you are creating.
fs connect
[mode]
Valid modes are:
connected
- Connected mode - this is the normal operating mode.
fetch
- Fetch only mode - files are retrieved from fileserver but are not stored back.
disconnected
- Disconnected mode - files are read and written from/to the cache, and no attempt is made to contact a fileserver-
Disconnected mode is very useful for machines that are not connected to the network at all times, such as laptops. Disconnected mode is to be considered very experimental at this stage.
fs monitor
fs newcell
-cell
cellname -servers
vldb-servers [-help
]
fs nop
fs quit
fs exit
fs rmmount
mountpoint
fs removepriority
path
fs rmp
removepriority
command.fs setacl
r
- read the files
l
- list the files
i
- insert new files
d
- delete files
w
- write (change) the files
k
- lock files
a
- administer the acl, that is, to change the acl
There are also a few convinience strings recognized by
fs setacl
:
none
- removes all permissions.
read
- adds 'rl' permissions, which are suitable for a read-only directory.
write
- adds all permissions except 'a', that is, the user/group can read, write, delete etc. but not change the acl of the directory.
all
- add all permissions.
Note that in AFS you set the permissions on a directory, and the permissions of a file are those of their directory. So, if you move a file from one directory to another, you might change the permission of the file, as the two directories may have different permissions.
Of the traditional UNIX permission bits only the user part is honored, and is used for any user permissioned by the directorys acl. The group and world permission bits are ignored, but they are stored.
fs sa
setacl
commandfs setcachesize
lowvnodes [highvnodes
lowbytes highbytes]
fs setcell
fs setpriority
file
priority
fs sp
setpriority
command.fs setmaxpriority
priority
fs smq
setmaxpriority
command.fs setquota
path
quota
fs sq
setquota
command.fs setserverprefs
fs setcrypt
yes |
no
fs setvol
fs suidcells
fs sysname
[sysname]
fs version
fs venuslog
fs whereis
[path]
fs whichcell
[path]
fs wscell
fs nnpfsdebug
fs nnpfsprint
[flags]
SEE ALSO
STANDARDS
The Arla authors are trying to mimic the behaviour of the original AFS utilities.
AUTHORS
The Arla project <http://www.stacken.kth.se/project/arla/>.
BUGS
Some commands are not implemented yet.