...
/Introduction to FSCK and Journaling
Introduction to FSCK and Journaling
This lesson introduces the crash-inconsistency problem, which we will explore more throughout this chapter.
We'll cover the following...
As we’ve seen thus far, the file system manages a set of data structures to implement the expected abstractions: files, directories, and all of the other metadata needed to support the basic abstraction that we expect from a file system. Unlike most data structures (for example, those found in memory of a running program), file system data structures must persist, i.e., they must survive over the long haul, stored on devices that retain data despite power loss (such as hard disks or flash-based SSDs).
Crash-consistency problem
One major challenge faced by a file system is how to update persistent data structures despite the presence of a power loss or ...