next up previous contents
Next: Setting AFS Protections with Up: AFS Distributed File System Previous: AFS Fundamentals

Accessing AFS Directories

AFS pathnames follow Unix syntax rules but all directories have root /afs/. Foreign cells must be in the cache manager cell list. AFS passwords are managed by kpasswd. If password re-use is denied, the system remembers the last 20 passwords.
AFS volumes are assigned quotas that are managed by the following commands:

% fs quota                      # list % of used quota
% fs listquota                  # list full quota status
% fs examine                    # show partition size
% fs quota -path /.../          # list quota of the path
Output examples:
> fs quota
 9% of quota used.
> fs listquota
Volume Name            Quota    Used    % Used   Partition
user.james             15000    1361        9%         83%
> fs examine
Volume status for vid = 536871246 named user.james
Current disk quota is 15000
Current blocks used are 1361
The partition has 174760 blocks available out of 1015808

Problem may arise accessing AFS files because of network limitations. For frequently used or important files, it is common AFS practice to store mirror copies at more than one server to limit damage if a node is down. Server status and file location are inquired by:

% fs whereis -path /.../file            # locate server for file
% fs checkservers -cell cell_name       # check server status
% fs checkservers all &                 # check all servers (background)
% fs listcells > list.cells &           # list foreign cells (background)
Example:
> fs whereis /croot/pro/bin/prog
File /croot/pro/bin/prog is on host serv02.site.firm.it



Marisa Luvisetto
2001-02-05