Coda (file system)









Coda
Developer(s)Carnegie Mellon University
Introduced1987
Other
Supported operating systems

Linux kernel, 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 Andrew File System (AFS-2) and offers many similar features. The InterMezzo file system was inspired by Coda.




Contents





  • 1 Features


  • 2 Supported platforms


  • 3 References


  • 4 External links




Features


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 the GPL[1]

  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 failure

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.



Supported platforms


Coda has been developed on Linux. Support for it appeared in the 2.1 Linux kernel series.[2] It has also been ported to FreeBSD. Subsequently obsoleted there, efforts is under way to bring it back.[3] Efforts have been made to port Coda to Microsoft Windows, from the Windows 95/Windows 98 era, Windows NT[4] to Windows XP,[5] by means of open source projects like the DJGCC DOS C Compiler and Cygwin.[4]



References




  1. ^ "New release: 5.0.pre1". 1999-01-06. Retrieved 2015-09-11..mw-parser-output cite.citationfont-style:inherit.mw-parser-output .citation qquotes:"""""""'""'".mw-parser-output .citation .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-ws-icon abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center.mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-maintdisplay:none;color:#33aa33;margin-left:0.3em.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em


  2. ^ "Linux Kernel mailing list, [PATCH] Coda". 1998-01-06.


  3. ^ https://github.com/trasz/freebsd/tree/coda


  4. ^ ab Braam, P. J.; et al. (1999). "Porting the coda file system to windows". Proc. USENIX Annual Technical Conference. USENIX Association: 30. Retrieved 2009-04-15.


  5. ^ "Coda Support for Windows XP". Retrieved 2009-04-15.




External links


  • Coda website at Carnegie Mellon University

  • Coda: a highly available file system for a distributed workstation network, Mahadev Satyanarayanan James J. Kistler, Puneet Kumar, IEEE Transactions on Computers, Vol. 39, No. 4, April 1990


  • The Coda Distributed Filesystem for Linux, Bill von Hagen, October 7, 2002.


  • The Coda Distributed File System with Picture representation, Peter J. Braam, School of Computer Science,








Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?