FSCK.S3QL(1)
β¨ FSCK.S3QL β¨
okay bestie, so this is the manual page for fsck.s3ql β like, from the S3QL crew (that's S3QL, manual section 1, the userspace commands zone). let's get into it π
πΈ NAME πΈ
fsck.s3ql β check an S3QL file system for errors. that's it, that's the vibe. a little health checkup for your filesystem, and yes she WILL spill the tea about what's broken π©Ίβ¨
π SYNOPSIS π
fsck.s3ql [options] <storage url>
that's the whole thing. options, then the storage url. simple queen behavior π
π¦ DESCRIPTION π¦
S3QL is a file system for online data storage. before you go using S3QL, please consult the full documentation, not just these man pages β the man pages only briefly document the available userspace commands, and you deserve the whole story, not the cliffnotes π₯Ί
so, the fsck.s3ql command checks the file system in the location specified by storage url for errors, and then it attempts to repair any problems it finds. iconic. main character energy fr.
the format of the storage url depends on the backend that is used. so if you're like "what even goes in this url" β go read the S3QL User's Guide, it has a whole description of the available backends. iykyk π
β¨ OPTIONS β¨
the fsck.s3ql command accepts the following options. buckle up, there's a lot and they're all kind of important.
--log <target>β where your log messages go. saynonefor standard output, orsyslogfor the system logging daemon. literally anything else gets interpreted as a file name. log files get rotated when they hit 1 MiB, and at most 5 old log files are kept around. default:~/.s3ql/fsck.log--cachedir <path>β store cached data in this directory. default:~/.s3ql--debug-modules <modules>β turn on debugging output from the specified modules. use commas to separate multiple modules, or'all'for everything. debug messages get written to the target specified by the--logoption.--debugβ activate debugging output from all S3QL modules. same deal, debug messages go to the target specified by the--logoption.--quietβ be really quiet π€«--backend-options <options>β backend specific options, separated by commas. see the backend documentation for what's available.--versionβ just print program version and exit. no drama, in and out π--authfile <path>β read authentication credentials from this file. default:~/.s3ql/authinfo2--compress <algorithm-lvl>β the compression algorithm and compression level to use when storing new data. algorithm may be any oflzma,bzip2,zlib, ornone. lvl may be any integer from0(fastest) to9(slowest). default:lzma-6--keep-cacheβ do not purge locally cached files on exit. keeping the cache, she's staying π«Ά--batchβ if user input is required, exit without prompting. no questions, no waiting, just out.--forceβ force checking even if the file system is marked clean. she doesn't care if you said you're fine.--force-remoteβ force use of remote metadata even when this would likely result in data loss.
π¨ bestie this one is a warning not a suggestion. using --force-remote when it would likely cause data loss means data loss. treat it with the respect it deserves π
π EXIT CODES π
okay so here's the tea. if fsck.s3ql found any file system errors β no matter if they were corrected or not β the exit code will be 128 plus one of the codes listed below. if no errors were found, the following exit codes are used as-is:
0β Everything went well. π we love a clean checkup.1β An unexpected error occurred. This may indicate a bug in the program. π2β Invalid command line argument or configuration file key.3β Invalid backend option.10β Could not open log file for writing.11β No such backend.12β Authentication file has insecure permissions. fix those perms bestie π13β Unable to parse proxy settings.14β Invalid credentials (Authentication failed).15β No permission to access backend (Authorization denied).16β Invalid storage URL, specified location does not exist in backend.17β Wrong file system passphrase.18β No S3QL file system found at given storage URL.19β Unable to connect to backend, can't resolve hostname.32β Unsupported file system revision (too old).33β Unsupported file system revision (too new).40β Cannot check mounted file system.41β User input required, but running in batch mode.42β File system check aborted by user.43β Local metadata is corrupted.44β Uncorrectable errors found. π45β Unable to access cache directory.128β This error code will be added to one of the codes above if any file system errors have been found (no matter if they were corrected or not).
π SEE ALSO π
- The S3QL homepage is at
https://github.com/s3ql/s3ql/β go say hi, she's lovely π - The full S3QL documentation should also be installed somewhere on your system. common locations are
/usr/share/doc/s3qlor/usr/local/doc/s3ql.
π COPYRIGHT π
Β© 2008 Nikolaus Rath <Nikolaus@rath.org> β protecting this work since 2008, we love to see it π«Ά
and that's the whole page bestie! this one's version 5.2.3, dated Nov 02, 2024, and it came to you straight from the S3QL era of FSCK.S3QL(1) πβ¨ go check your filesystem, she deserves it π
π¦ where this page comes from
- debian trixie: s3ql 5.2.3+dfsg-2 Β· GPL-3.0-only
- ubuntu questing: s3ql 5.2.3+dfsg-2
- ubuntu resolute: s3ql 5.2.3+dfsg-2build1 Β· GPL-3.0-only
- ubuntu stonking: s3ql 5.2.3+dfsg-2build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms