Coda (file system)

Coda (file system)
Developer Carnegie Mellon University
Introduced 1987
Supported operating systems Linux, NetBSD FreeBSD

Coda is a distributed file system developed as a research project at Carnegie Mellon University since 1987 under the direction of Mahadev Satyanarayanan. It descended directly from an older version of AFS (AFS-2) and offers many similar features. The InterMezzo file system was inspired by Coda. Coda is still under development, though the focus has shifted from research to creating a robust product for commercial use.



Coda has many features that are desirable for network file systems, and several features not found elsewhere.

  1. Disconnected operation for mobile computing
  2. Is freely available under a liberal license
  3. High performance through client side persistent caching
  4. Server replication
  5. Security model for authentication, encryption and access control
  6. Continued operation during partial network failures in server network
  7. Network bandwidth adaptation
  8. Good scalability
  9. Well defined semantics of sharing, even in the presence of network failures

Coda uses a local cache to provide access to server data when the network connection is lost. During normal operation, a user reads and writes to the file system normally, while the client fetches, or "hoards", all of the data the user has listed as important in the event of network disconnection. If the network connection is lost, the Coda client's local cache serves data from this cache and logs all updates. This operating state is called disconnected operation. Upon network reconnection, the client moves to reintegration state; it sends logged updates to the servers. Then it transitions back to normal connected-mode operation.

Also different from AFS is Coda's data replication method. AFS uses a pessimistic replication strategy with its files, only allowing one read/write server to receive updates and all other servers acting as read-only replicas. Coda allows all servers to receive updates, allowing for a greater availability of server data in the event of network partitions, a case which AFS cannot handle.

These unique features introduce the possibility of semantically diverging copies of the same files or directories, known as "conflicts". Disconnected operation's local updates can potentially clash with other connected users' updates on the same objects, preventing reintegration. Optimistic replication can potentially cause concurrent updates to different servers on the same object, preventing replication. The former case is called a "local/global" conflict, and the latter case a "server/server" conflict. Coda has extensive repair tools, both manual and automated, to handle and repair both types of conflicts.

Supporting platforms

Coda has been developing upon the Linux platforms. Currently, it has been incorporated into the 2.6 Linux kernel. It has also been ported to FreeBSD. Efforts have been made to port Coda onto Microsoft Windows platforms, from the Windows 95/Windows 98 era, Windows NT[1] to Windows XP,[2] by means of open source projects like the DJGCC DOS C Compiler and Cygwin.[1]

See also


  1. ^ a b Braam, P. J. et al. (1999). "Porting the coda file system to windows" (in en). Proceedings of the annual conference on USENIX Annual Technical Conference (USENIX Association): 30. Retrieved 2009-04-15. 
  2. ^ "Coda Support for Windows XP" (in en). Retrieved 2009-04-15. 

External links

Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • InterMezzo (file system) — InterMezzo is an obsolete distributed file system written for Linux, distributed under the GPL. The kernel component is not included in the current 2.6 kernel. It was included in the standard Linux kernel from kernel version 2.4.15 but was… …   Wikipedia

  • Andrew File System — The Andrew File System (AFS) is a distributed networked file system which uses a set of trusted servers to present a homogeneous, location transparent file name space to all the client workstations. It was developed by Carnegie Mellon University… …   Wikipedia

  • Self-certifying File System — In computing, Self certifying File System (SFS) is a global and decentralized, distributed file system for Unix like operating systems, while also providing transparent encryption of communications as well as authentication. It aims to be the… …   Wikipedia

  • Distributed File System — Ein verteiltes Dateisystem (engl.: distributed file system (DFS) oder network file system) ist ein spezielles Dateisystem, mit dem der Zugriff auf Dateien über ein Rechnernetz erfolgt und das Zugriff und Datenspeicherung auf mehreren als Server… …   Deutsch Wikipedia

  • Be File System — BFS Developer Be Inc. Full name Be File System Introduced May 10, 1997 (BeOS Advanced Access Preview Release[1]) Partition identifier Be BFS (Apple Partition Map) 0xEB (MBR) …   Wikipedia

  • MINIX file system — Developer Open Source Community Full name MINIX file system version 3 Introduced 1987 (MINIX 1.0) Partition identifier 0x81 (MBR) Features Dates recorded …   Wikipedia

  • Veritas File System — For other uses, see Veritas (disambiguation). VERITAS File System Full name VERITAS File System Introduced 1991 Structures Directory contents extensible hash Limits Max file size 8 EB ( …   Wikipedia

  • NetWare File System — NWFS Developer Novell Full name NetWare File System Limits Max file size 4 GiB Max volume size 1 TiB Features …   Wikipedia

  • Global File System — In computing, the Global File System (GFS) is a shared disk file system for Linux computer clusters.GFS differs from distributed file systems (such as AFS, Coda, or InterMezzo) because it allows all nodes to have direct concurrent access to the… …   Wikipedia

  • Global File System — Traduction à relire Global File System → …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”