Professional Documents
Culture Documents
Intro
- Think of the Filesystem as an
organized library
- There are different ways to go about
organizing the bits on your hard
drive
- Linux is about “choice” so that adds
more options to the mix
Filesystem Types
1. Journaling Filesystem
2. Log-Structured Filesystem
3. Copy-On-Write Filesystem
Journaling Filesystem
A filesystem that maintains a special
file called “a journal” that is used to
repair any inconsistencies that occur
as the result of an improper shutdown
of a computer.
Disadvantage:
- Complete data consistency is not ensured.
- Redundancy of metadata writes occurs.
Log-Structured Filesystem
Maintain a log within the filesystem
itself.
The filesystem data on disk is
structured in the form of a log.
Log-Structured Filesystem
Advantage: Write efficiency is very
high because of sequential writes.
Redundant writes are avoided.