Post #2382405
2026-05-06 21:20 UTC
@mwl@io.mwl.io @grumpybozo@toad.social @djfiander@code4lib.social @b0rk@social.jvns.ca zfs scrub does not validate or correct the on-disk data structure, it only checks the block checksums. That's what I mean by "doesn't have a *real* fsck."
The data loss I experienced was due to a buggy migration of the on-disk data structure. All the block checksums validated, but files became inaccessible. Scrub did nothing. A real fsck might have dumped a bunch of stuff into lost+found, but that would've been enough to avoid having to restore from backup.
Replies (0)
No replies.