Presentation is loading. Please wait.

Presentation is loading. Please wait.

AFS (Andrew File System) A Distributed File System Zihou Wang.

Similar presentations


Presentation on theme: "AFS (Andrew File System) A Distributed File System Zihou Wang."— Presentation transcript:

1 AFS (Andrew File System) A Distributed File System Zihou Wang

2 Contents b What is AFS b Benefits of AFS b How to use AFS b Summary

3 What is AFS b AFS is a distributed file system that enables file sharing across both local area and wide area networks. b b AFS is marketed, maintained, and extended by Transarc Corporation. b b AFS is originally developed at the Information Technology Center at Carnegie-Mellon University

4 Benefit of AFS b b Cache Manager Whenever a remote file is accessed a chunk of that file gets copied to local disk and so subsequent accesses (warm reads) are almost as fast as to local disk b b Location independence AFS does file mapping (file name to location) at the server

5 Benefit of AFS (continue) b b Scalability AFS cells can range from the small to the massive b b Improved security AFS makes use of Kerberos to authenticate users AFS uses access control lists(ACL) to restrict access to file directories

6 Benefit of AFS (continue) b b Single systems image Every client and server in a network of systems use the same view of file store b b Improved system management capability Administrators are able to make configuration changes from any client in the AFS cell and no need to take systems off-line.

7 How to use AFS $ pwd /afs/nwstg/project/spot $ ls -l total 44 drwxrwxrwx 3 root system 2048 Aug 22 14:39 altmanb drwxr-xr-x 2 altmanb staff 2048 Jul 29 16:25 bin drwxrwxrwx 5 root system 2048 Mar 22 16:32 cgi-bin drwxrwxrwx 2 root system 2048 Apr 02 14:03 friedman drwxrwxrwx 2 root system 2048 May 23 13:19 murthyja drwxrwxrwx 3 root system 2048 Jul 18 13:24 porricelli drwxrwxrwx 2 altmanb staff 2048 Jul 30 13:47 release drwxrwxrwx 8 altmanb staff 2048 Jul 29 16:01 spotdata drwxrwxrwx 3 altmanb staff 2048 Mar 25 17:00 spottest drwxrwxrwx 4 root system 2048 Apr 30 14:43 wangz drwxrwxrwx 5 root system 2048 Mar 25 13:57 webdocs

8 How to use AFS (continue) $ cd altmanb ksh: altmanb: Permission denied. $ fs listacl altmanb fs: You don't have the required access rights on 'altmanb' $ fs listacl wangz Access list for wangz is Normal rights: system:administrators rlidwka wangz rlidwk

9 How to use AFS (continue) $ fs listacl cgi-bin Access list for cgi-bin is Normal rights: system:administrators rlidwka system:anyuser rl altmanb rlidwk wangz rlidwk friedman rlidwk porricel rlidwk murthyja rlidwk

10 How to use AFS (continue) $ fs listquota wangz Volume Name Quota Used %Used Partition project.spot.wangz 100000 12878 13% 42% $ fs help setacl fs setacl: set access control list aliases: sa Usage: fs setacl -dir + -acl + [-clear] [-negative] [-id] [-if] [-help] Where: -clear clear access list -negative apply to negative rights -id initial directory acl (DFS only) -if initial file acl (DFS only)

11 Summary Usually, AFS is used on UNIX workstation, such as HP, DEC, SUN, and SGI. Now more and more users like to use AFS and Transarc have made AFS available to PCs and Macs as well as Cray (IBM main frame).


Download ppt "AFS (Andrew File System) A Distributed File System Zihou Wang."

Similar presentations


Ads by Google