OpenAFS: a distributed shared file system

Summary

At the Chemnitz Linux Day 2002, Dr. Hartmut Reuter from the Max Planck Institute for Plasma Physics presented OpenAFS, a distributed file system based on the client-server model. Kerberos provides security, and clients are available for Linux, many Unix variants, Windows and macOS. AFS is considered extremely scalable and can even be used as a worldwide file system.

What is AFS?

AFS originally stands for Andrew File System and was created at Carnegie Mellon University in the 1980s. The data resides on several independent file servers organised in so-called cells. The file system looks the same to every client: under /afs all cells appear in one common directory tree, no matter which computer you access it from.

The clients keep files in a local cache, which relieves the network. Login and permissions run via Kerberos, so passwords never cross the network unencrypted. There were AFS cells with many thousands of clients and many terabytes of data, above all at universities and research institutions.

What became of it

IBM had released AFS as OpenAFS in 2000. The system is still used in research and higher education today but has found little use outside these fields. Many of its tasks are now handled by NFSv4 with Kerberos, distributed systems such as Ceph, or cloud storage. The idea of a worldwide uniform namespace nevertheless remains remarkable.

Ideas

  • A common namespace makes files visible under the same path on all clients.
  • Independent file servers allow high scalability.
  • Local caches relieve the network.

Insights

  • Secure authentication with Kerberos was an early core component of distributed file systems.
  • Technically superior systems do not automatically become widespread.

Facts

  • AFS was created at Carnegie Mellon University.
  • IBM released AFS as OpenAFS in 2000.
  • Under /afs, all AFS cells appear in one common directory tree.

References

Remarks

  • An MP3 recording of the talk is available on the Chemnitz Linux Days programme page.

Recommendations

  • For shared files on the network, consider NFSv4 or Samba first before introducing a complex distributed file system.
  • With network file systems, rely on strong authentication instead of trusted networks.

Open the programme item

Search the Web Archive

Found a mistake or have something to add? Get in touch.