October 2017
Intermediate to advanced
354 pages
9h 28m
English
Consistency of an on-disk image is critical for reliable functioning of a filesystem. While the filesystem is in the process of updating its on-disk structures, there is every possibility for a catastrophic error to occur (power down, OS crash, and so on), causing interruption of a partially committed critical update. This results in corruption of on-disk structures and leaves the filesystem in an inconsistent state. Dealing with such eventualities, by engaging an effective strategy for crash recovery, is one of the major challenges faced by most filesystem designers.
Some filesystems handle crash recovery through a specially designed filesystem consistency check tool like fsck (a widely used Unix ...