NAME¶fsck.s3ql - Check an S3QL file system for errors
fsck.s3ql [options] <storage url>
DESCRIPTION¶S3QL is a file system for online data storage. Before using S3QL, make sure to consult the full documentation (rather than just the man pages which only briefly document the available userspace commands).
The fsck.s3ql command checks the file system in the location specified by storage url for errors and attempts to repair any problems. The storage url depends on the backend that is used. The S3QL User's Guide should be consulted for a description of the available backends.
OPTIONS¶The fsck.s3ql command accepts the following options.
- --log <target>
- Destination for log messages. Specify none for standard output or syslog for the system logging daemon. Anything else will be interpreted as a file name. Log files will be rotated when they reach 1 MiB, and at most 5 old log files will be kept. Default: ~/.s3ql/fsck.log
- --cachedir <path>
- Store cached data in this directory (default: ~/.s3ql)
- --debug-modules <modules>
- Activate debugging output from specified modules (use commas to separate multiple modules). Debug messages will be written to the target specified by the --log option.
- Activate debugging output from all S3QL modules. Debug messages will be written to the target specified by the --log option.
- be really quiet
- --backend-options <options>
- Backend specific options (separate by commas). See backend documentation for available options.
- just print program version and exit
- --authfile <path>
- Read authentication credentials from this file (default: ~/.s3ql/authinfo2)
- --compress <algorithm-lvl>
- Compression algorithm and compression level to use when storing new data. algorithm may be any of lzma, bzip2, zlib, or none. lvl may be any integer from 0 (fastest) to 9 (slowest). Default: lzma-6
- Do not purge locally cached files on exit.
- If user input is required, exit without prompting.
- Force checking even if file system is marked clean.
- Force use of remote metadata even when this would likely result in data loss.
EXIT CODES¶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:
- Everything went well.
- An unexpected error occured. This may indicate a bug in the program.
- Invalid command line argument or configuration file key.
- Invalid backend option.
- Could not open log file for writing.
- No such backend.
- Authentication file has insecure permissions.
- Unable to parse proxy settings.
- Invalid credentials (Authentication failed).
- No permission to access backend (Authorization denied).
- Invalid storage URL, specified location does not exist in backend.
- Wrong file system passphrase.
- No S3QL file system found at given storage URL.
- Unable to connect to backend, can't resolve hostname.
- Unsupported file system revision (too old).
- Unsupported file system revision (too new).
- Cannot check mounted file system.
- User input required, but running in batch mode.
- File system check aborted by user.
- Local metadata is corrupted.
- Uncorrectable errors found.
- Unable to access cache directory.
- 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/.
The full S3QL documentation should also be installed somewhere on your system, common locations are /usr/share/doc/s3ql or /usr/local/doc/s3ql.
COPYRIGHT¶© 2008 Nikolaus Rath <Nikolaus@rath.org>
|October 23, 2019||3.3.2|