Table of Contents
This chapter describes how to administer an AFS client machine, which is any machine from which users can access the AFS filespace and communicate with AFS server processes. (A client machine can simultaneously function as an AFS server machine if appropriately configured.) An AFS client machine has the following characteristics:
The kernel includes the set of modifications, commonly referred to as the Cache Manager, that enable access to AFS files and directories. You can configure many of the Cache Manager's features to suit your users' needs. See Overview of Cache Manager Customization.
The /usr/vice/etc directory on the local disk stores several configuration files. See Configuration Files in the /usr/vice/etc Directory.
A cache stores temporary copies of data fetched from AFS file server machines, either in machine memory or on a devoted local disk partition. See Determining the Cache Type, Size, and Location and Setting Other Cache Parameters with the afsd program.
To learn how to install the client functionality on a machine, see the OpenAFS Quick Beginnings.
This chapter explains how to perform the following tasks by using the indicated commands:
|Display cache size set at reboot||cat /usr/vice/etc/cacheinfo|
|Display current cache size and usage||fs getcacheparms|
|Change disk cache size without rebooting||fs setcachesize|
|Initialize Cache Manager||afsd|
|Display contents of CellServDB file||cat /usr/vice/etc/CellServDB|
|Display list of database server machines from kernel memory||fs listcells|
|Change list of database server machines in kernel memory||fs newcell|
|Check cell's status regarding setuid||fs getcellstatus|
|Set cell's status regarding setuid||fs setcell|
|Set server probe interval||fs checkservers -interval|
|Display machine's cell membership||cat /usr/vice/etc/ThisCell|
|Change machine's cell membership||Edit /usr/vice/etc/ThisCell|
|Flush cached file/directory||fs flush|
|Flush everything cached from a volume||fs flushvolume|
|Update volume-to-mount-point mappings||fs checkvolumes|
|Display Cache Manager's server preference ranks||fs getserverprefs|
|Set Cache Manager's server preference ranks||fs setserverprefs|
|Display client machine addresses to register||fs getclientaddrs|
|Set client machine addresses to register||fs setclientaddrs|
|Control the display of warning and status messages||fs messages|
|Display and change machine's system type||fs sysname|
|Enable asynchronous writes||fs storebehind|