Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 993 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 993 Bytes

fsck.s3gw

fsck like tool to check for consistency problems on the backing store of the s3gw and fix them

Usage

Allowed Options:
  -h [ --help ]         print this help text
  -F [ --fix ]          fix any inconsistencies found
  -p [ --path ] arg     path to check
  -q [ --quiet ]        run silently
  -v [ --verbose ]      more verbose output

Must supply path to check.

Checks

Check Fix Description
orphaned objects move orphaned objects to "lost+found" directory locates objects that are not listed in the metadata

Development

Build the tool with CMake:

cd fsck.s3gw
cmake -S src -B build
cmake --build build