FSCK.ZFS(8)
๐ FSCK.ZFS(8) ๐
okay bestie, this is a page from the System Manager's Manual, and it's about fsck.zfs โ the dummy ZFS filesystem checker. yes, dummy. she's not doing much and she knows it. let's get into it ๐ซถ
โจ NAME โจ
fsck.zfs โ dummy ZFS filesystem checker
like, that's the whole job description. dummy. iconic of her honestly ๐
๐ธ SYNOPSIS ๐ธ
fsck.zfs [options] datasetโฆ
that's it, that's the vibe. you pass her some *dataset*s, she looks at them, she moves on ๐ฆ
๐ DESCRIPTION ๐
so fsck.zfs is a thin shell wrapper, and at most it checks the status of a dataset's container pool. that's the ceiling. that's the whole dream.
why does it even exist?? because OpenZFS installs it โ some Linux distributions just expect a fsck helper for every filesystem that exists, so we gave them one. she's here to fill a slot, and she's serving regardless ๐ญโจ
oh and if you specify more than one dataset? each one gets checked in turn, and then the results get binary-ored together. math girlie behavior fr fr ๐งฎ
๐ OPTIONS ๐
- options โ Ignored.
yes bestie, literally ignored. she heard you, she said "okay!" and did nothing with it. no cap. ๐
๐ NOTES ๐
okay here's the actual tea. ZFS datasets get checked by running zpool scrub on the containing pool. so an individual ZFS dataset is never checked independently of its pool โ which is unlike a regular filesystem. the dataset does not get its own solo moment. she's part of a group project, periodt. ๐
however, the fsck(8) interface still lets her communicate some errors:
- if the dataset is in a degraded pool, then
fsck.zfswill return exit code4to indicate an uncorrected filesystem error. ๐จ - similarly, if the dataset is in a faulted pool and has a legacy
/etc/fstabrecord, thenfsck.zfswill return exit code8to indicate a fatal operational error. ๐
so like, she's quiet but she's not silent. if something's wrong she WILL let the group chat know with a number. iykyk.
๐ SEE ALSO ๐
go read those if you want the full lore bestie ๐
mwah โ this page is brought to you by OpenZFS, dated May 26, 2021. that's the source, that's the version, that's the whole footer. slay, bye ๐โจ๐ฆ
๐ฆ where this page comes from
- alpine 3.22: zfs-doc 2.3.9-r0 ยท CDDL-1.0
- alpine 3.23: zfs-doc 2.4.4-r0 ยท CDDL-1.0
- alpine 3.24: zfs-doc 2.4.4-r0 ยท CDDL-1.0
- debian trixie: zfsutils-linux 2.3.9-0+deb13u1 ยท CDDL-1.0
- nixos 26.05: zfs-user 2.4.4
- nixpkgs unstable: zfs-user 2.4.4
- ubuntu questing: zfsutils-linux 2.3.4-1ubuntu2
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5 ยท CDDL-1.0
- ubuntu resolute: zfsutils-linux 2.4.1-1ubuntu5.1 ยท CDDL-1.0
- ubuntu stonking: zfsutils-linux 2.4.4-1ubuntu4 ยท CDDL-1.0
- ๐ the page's license: CDDL-1.0
- Copyright 2013 Darik Horn <dajhorn@vanadac.com>. All rights reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms