Fossil (file system)

Fossil (file system)

Fossil is the default file system in Plan 9 from Bell Labs. It serves the network protocol 9P and runs as a user space daemon, like most Plan 9 file servers. Fossil is different from most other file systems due to its snapshot/archival feature. It can take snapshots of the entire file system on command or automatically (every user-set interval). These snapshots can be kept on the Fossil partition as long as disk space allows; if the partition fills up then old snapshots will be removed to free up disk space. A snapshot can also be saved permanently to Venti. Fossil and Venti are typically installed together.

Features

Important features include:
*Snapshots are available to all users. No administrator intervention is needed to access old data. (This is possible because Fossil enforces file permissions; users can only access data which they would be allowed to access anyway; thus a user cannot snoop on another's old files or look at old passwords or such.)
*Data in permanent snapshots (sometimes called archives) cannot be modified. Only the non-permanent snapshots can be removed.

To access a snapshot, one would connect to a running fossil instance (“mount” it) and change directory to the desired snapshot, e.g. "/snapshot/yyyy/mmdd/hhmm" (with "yyyy", "mm", "dd", "hh", "mm" meaning year, month, day, hour, minute). To access an archive (permanent snapshot), a directory of the form "/archive/yyyy/mmdds" (with "yyyy", "mm", "dd", "s" meaning year, month, day, sequence number) would be used. Plan 9 allows modifying the namespace in advanced ways, like "redirecting" one path to another path (e.g. "/bin/ls" to "/archive/2005/1012/bin/ls"). This significantly eases working with old versions of files.

History

Fossil was designed and implemented by Sean Quinlan, Jim McKie and Russ Cox at Bell Labs and added to the Plan 9 distribution at the end of 2002. It became the default file system in 2003, replacing Kfs and the previous Plan 9 archival file system, dubbed "The Plan 9 File Server", or "fs". fs is also an archival file system which originally was designed to store data on a WORM optical disc system. The permanent storage for fossil is provided by Venti, which typically stores data on hard drives, which have much lower access times than optical discs.

See also

*9P
*Venti
*GoogleFS, Google's proprietary distributed filesystem

External links

* [http://plan9.bell-labs.com/magic/man2html/4/fossil Fossil manual page]
* [http://plan9.bell-labs.com/magic/man2html/8/fossilcons Fossil console commands manual page]
* [http://www.cs.bell-labs.com/sys/doc/fossil.pdf Technical fossil paper] , about data structures written to venti


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Log-structured file system — A log structured filesystem is a file system design first proposed by John K. Ousterhout and Fred Douglis. Designed for high write throughput, all updates to data and metadata are written sequentially to a continuous stream, called a log.… …   Wikipedia

  • Versioning file system — A versioning file system is any computer file system which allows a computer file to exist in several versions at the same time. Thus it is a form of revision control. Most common versioning file systems keep a number of old copies of the file.… …   Wikipedia

  • Google File System — (GFS) is a proprietary distributed file system developed by Google for its own use. Despite having published details on technologies like the Google File System, Google has not released the software as open source and shows little interest in… …   Wikipedia

  • Fossil (disambiguation) — A fossil is the mineralized remains of a dead organism.Fossil may also refer to:*FOSSIL, a protocol for serial communications *Fossil (file system), a file system used mainly by Plan 9 from Bell Labs *Fossil (SCM), a Software Configuration… …   Wikipedia

  • Fossil-fuel power station — A working coal plant in Rochester, Minnesota The St. Clair Power Plant, a large coal fired ge …   Wikipedia

  • Fossil-fuel phase-out — A fossil fuel phase out are plans for transport electrification, decommissioning of operating fossil fuel fired power plants and prevention of the construction of new fossil fuel fired power stations. The purpose of this is to decrease the high… …   Wikipedia

  • Fossil fuel — Coal, one of the fossil fuels. Fossil fuels are fuels formed by natural processes such as anaerobic decomposition of buried dead organisms. The age of the organisms and their resulting fossil fuels is typically millions of years, and sometimes… …   Wikipedia

  • Comparison of file systems — The following tables compare general and technical information for a number of file systems. Contents 1 General information 2 Limits 3 Metadata 4 Features …   Wikipedia

  • List of file systems — The following lists identify, characterize and link to more thorough information on computer file systems.Many older operating systems support only their one native file system, which does not bear any name apart from the name of the operating… …   Wikipedia

  • Concurrent Versions System — Developer(s) The CVS Team Initial release November 19, 1990; 21 years ago (1990 11 19) Stable release …   Wikipedia

Share the article and excerpts

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