sqck · research · also Declarative file system checker

SQCK

SQCK is a research filesystem checker that expresses metadata checks and repairs as declarative queries over relational tables.

Related Observatory article: Read on hesela.com

SQCK loads ext2 metadata into tables, applies checks and repairs, then writes changes back. Its dependency ordering validates a structure's location before repairing its contents. [1]

Restoring structural consistency can still discard recoverable information or choose the wrong owner of shared blocks. SQCK explores these as separate repair-policy concerns. Its prototype flushes changes in place without a separate journal. [1]

The linked model contrasts early and late pointer validation in eight invented blocks. Both policies detach the same bad pointer, but only late validation overwrites the header. It does not execute a filesystem checker. [3]

Relations

related
Filesystem consistency invariant, Crash-consistent filesystem repair, Background fsck, Recon

Advantages

  • SQL separates repair intent from the low-level metadata scanner. [1]

Limitations

  • The 2008 implementation and e2fsck 1.39 comparison do not characterize current checker behavior. [1]
  • Repair interruption requires a separate persistence protocol, as studied by rfsck-lib. [2]

Citations

  1. Gunawi et al. SQCK: A Declarative File System Checker. OSDI 2008, sections 2.3-5.3. (accessed 2026-11-23)
  2. Gatla et al. Towards Robust File System Checkers. FAST 2018, sections 3-5. (accessed 2026-11-23)
  3. Hesela: repair-order model, exact cases, tests and assumptions (accessed 2026-11-23)
Sources & caveats
  • SQCK is a historical research prototype. The full paper was read; no contemporary checker was fault-injected.
  • The linked 22 cases are original synthetic examples, not SQCK evaluation results.

JSON: /data/terms/sqck.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. SQCK. Hesela. 2026-11-23. https://hesela.dev/terms/sqck/