Yes, but there is a lot of non document options !
For example, when we tried to rebuild a mon store, we had to add the
option --no-mon-config (which is not in the help) because
ceph-objectstore-tool tried to join the monitors and never responded.
It would be nice if someone could produce a more complete manual
Le lun. 15 oct. 2018 à 14:26, Matthew Vernon a écrit :
>
> Hi,
>
> On 15/10/18 11:44, Vincent Godin wrote:
> > Does a man exist on ceph-objectstore-tool ? if yes, where can i find it ?
>
> No, but there is some --help output:
>
> root@sto-1-1:~# ceph-objectstore-tool --help
>
> Allowed options:
> --help produce help message
> --type arg Arg is one of [filestore (default), memstore]
> --data-path arg path to object store, mandatory
> --journal-path arg path to journal, mandatory for filestore type
> --pgid arg PG id, mandatory for info, log, remove,
> export,
> rm-past-intervals, mark-complete, and
> mandatory
> for apply-layout-settings if --pool is not
> specified
> --pool arg Pool name, mandatory for
> apply-layout-settings if
> --pgid is not specified
> --op argArg is one of [info, log, remove, mkfs, fsck,
> fuse, export, import, list, fix-lost,
> list-pgs,
> rm-past-intervals, dump-journal, dump-super,
> meta-list, get-osdmap, set-osdmap,
> get-inc-osdmap, set-inc-osdmap, mark-complete,
> apply-layout-settings, update-mon-db]
> --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, import, get-osdmap,
> set-osdmap, get-inc-osdmap or set-inc-osdmap
> --mon-store-path argpath of monstore to update-mon-db
> --mountpoint argfuse mountpoint
> --format arg (=json-pretty) Output format which may be json, json-pretty,
> xml, xml-pretty
> --debug Enable diagnostic output to stderr
> --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
>
>
> 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
> ceph-objectstore-tool ... dump
> ceph-objectstore-tool ... set-size
> 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.
>
> [that's for the Jewel version]
>
> HTH,
>
> Matthew
>
>
> --
> The Wellcome Sanger Institute is operated by Genome Research
> Limited, a charity registered in England with number 1021457 and a
> company registered in England with number 2742969, whose registered
> office is 215 Euston Road, London, NW1 2BE.
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com