ffsck · research · also Fast File System Checker

ffsck

ffsck is a research filesystem checker that uses rext3's clustered, self-identifying metadata to replace inode-tree traversal with disk-order scanning.

Related Observatory article: Read on hesela.com

The rext3 filesystem groups indirect blocks and directory blocks separately from ordinary file data. Backpointers identify metadata without first walking its inode tree. ffsck retains compact cross-check information after local checks. This trades allocation flexibility and memory for fewer seeks. [1]

The fast scan trusts allocation information. Detected bitmap/checksum disagreement triggers a traditional traversal; the prototype's simple checksum can miss collisions. Fast scanning therefore does not imply complete corruption detection. [1]

A 2013 FreeBSD adaptation used a flexible metadata-placement hint and kept the first indirect block beside file data. It retained the disk format rather than implementing the complete rext3 design. [2]

Relations

related
Filesystem consistency invariant, Crash-consistent filesystem repair

Citations

  1. Ma et al. ffsck: The Fast File System Checker. FAST 2013, pp. 1-15, sections 4-6. (accessed 2026-11-29)
  2. Marshall Kirk McKusick. Improving the Performance of fsck in FreeBSD. ;login: 38(2), April 2013, pp. 20-22. (accessed 2026-11-29)
Sources & caveats
  • Historical source review, not a benchmark replication or a recommendation to run prototype repair code on production data.
  • FAST 2013 used Linux 2.6.28 and e2fsprogs 1.41.12. The FreeBSD follow-up used 8.3-STABLE r246915M; neither establishes current-version performance.

JSON: /data/terms/ffsck.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. ffsck. Hesela. 2026-11-29. https://hesela.dev/terms/ffsck/