Allowed options: --help produce help message --type arg Arg is one of [bluestore (default), memstore] --data-path arg path to object store, mandatory --journal-path arg path to journal, use if tool can't find it --pgid arg PG id, mandatory for info, log, remove, export, export-remove, mark-complete, trim-pg-log, trim-pg-log-dups --pool arg Pool name --op arg Arg is one of [info, log, remove, mkfs, fsck, repair, fuse, dup, export, export-remove, import, list, list-slow-omap, fix-lost, list-pgs, dump-super, meta-list, get-osdmap, set-osdmap, get-superblock, set-superblock, get-inc-osdmap, set-inc-osdmap, mark-complete, reset-last-complete, update-mon-db, dump-export, trim-pg-log, trim-pg-log-dups statfs] --epoch arg epoch# for get-osdmap and get-inc-osdmap, the current epoch in use if not specified --file arg path of file to export, export-remove, import, get-osdmap, set-osdmap, get-superblock, set-superblock, get-inc-osdmap or set-inc-osdmap --mon-store-path arg path of monstore to update-mon-db --fsid arg fsid for new store created by mkfs --target-data-path arg path of target object store (for --op dup) --mountpoint arg fuse mountpoint --format arg (=json-pretty) Output format which may be json, json-pretty, xml, xml-pretty --debug Enable diagnostic output to stderr --no-mon-config Do not contact mons for config --no-superblock Do not read superblock --force Ignore some types of errors and proceed with operation - USE WITH CAUTION: CORRUPTION POSSIBLE NOW OR IN THE FUTURE --skip-journal-replay Disable journal replay --skip-mount-omap Disable mounting of omap --head Find head/snapdir when searching for objects by name --dry-run Don't modify the objectstore --tty Treat stdout as a tty (no binary data) --namespace arg Specify namespace when searching for objects --rmtype arg Specify corrupting object removal 'snapmap' or 'nosnapmap' - TESTING USE ONLY --slow-omap-threshold arg Threshold (in seconds) to consider omap listing slow (for op=list-slow-omap) Positional syntax: ceph-objectstore-tool ... (get|set)-bytes [file] ceph-objectstore-tool ... set-(attr|omap) [file] ceph-objectstore-tool ... (get|rm)-(attr|omap) ceph-objectstore-tool ... get-omaphdr ceph-objectstore-tool ... set-omaphdr [file] ceph-objectstore-tool ... list-attrs ceph-objectstore-tool ... list-omap ceph-objectstore-tool ... remove|removeall ceph-objectstore-tool ... dump ceph-objectstore-tool ... set-size ceph-objectstore-tool ... clear-data-digest ceph-objectstore-tool ... remove-clone-metadata can be a JSON object description as displayed by --op list. can be an object name which will be looked up in all the OSD's PGs. can be the empty string ('') which with a provided pgid specifies the pgmeta object The optional [file] argument will read stdin or write stdout if not specified or if '-' specified.