- Coda (file system)
-
Coda Developer Carnegie Mellon University Introduced 1987 Features 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.
Contents
Features
Coda has many features that are desirable for network file systems, and several features not found elsewhere.
- Disconnected operation for mobile computing
- Is freely available under a liberal license
- High performance through client side persistent caching
- Server replication
- Security model for authentication, encryption and access control
- Continued operation during partial network failures in server network
- Network bandwidth adaptation
- Good scalability
- 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
- List of file systems, Distributed file systems section
- MooseFS
- Ceph
- Global filesystem
- GlusterFS
- Google File System
- InterMezzo
References
- ^ 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. http://portal.acm.org/citation.cfm?id=1268738. Retrieved 2009-04-15.
- ^ "Coda Support for Windows XP" (in en). http://www.coda.cs.cmu.edu/windowsnt.html. Retrieved 2009-04-15.
External links
- Coda website at Carnegie Mellon University
- 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,
File systems Disk Advanced Disc Filing System · AdvFS · Be File System (BFS) · Btrfs · CrossDOS · Disc Filing System (DFS) · Episode · EFS · exFAT · ext (ext2 · ext3 · ext3cow · ext4) · FAT (FAT12, FAT16, FAT16B, FAT32) · Files-11 · Global File System (GFS) · Hierarchical File System (HFS) · HFS Plus · High Performance File System · IBM General Parallel File System · JFS · Macintosh File System · MINIX · NetWare File System · NILFS · Novell Storage Services · NTFS · QFS · QNX4FS · ReiserFS (Reiser4) · SpadFS · UBIFS · Unix File System · Veritas File System (VxFS) · VFAT · Write Anywhere File Layout (WAFL) · XFS · Xsan · ZFS · more...
NAS Specialized Pseudo- and virtualEncryptedCategories:- Network file systems
- Linux file systems
Wikimedia Foundation. 2010.