fsck like tool to check for consistency problems on the backing store of the s3gw and fix them
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.
Check | Fix | Description |
---|---|---|
orphaned objects | move orphaned objects to "lost+found" directory | locates objects that are not listed in the metadata |
Build the tool with CMake:
cd fsck.s3gw
cmake -S src -B build
cmake --build build