Re: ceph-objectstore-tool manual

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mv3@xxxxxxxxxxxx> 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 arg                    Arg 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 arg        path of monstore to update-mon-db
>   --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
>   --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 ... <object> (get|set)-bytes [file]
> ceph-objectstore-tool ... <object> set-(attr|omap) <key> [file]
> ceph-objectstore-tool ... <object> (get|rm)-(attr|omap) <key>
> ceph-objectstore-tool ... <object> get-omaphdr
> ceph-objectstore-tool ... <object> set-omaphdr [file]
> ceph-objectstore-tool ... <object> list-attrs
> ceph-objectstore-tool ... <object> list-omap
> ceph-objectstore-tool ... <object> remove
> ceph-objectstore-tool ... <object> dump
> ceph-objectstore-tool ... <object> set-size
> ceph-objectstore-tool ... <object> remove-clone-metadata <cloneid>
>
> <object> can be a JSON object description as displayed
> by --op list.
> <object> can be an object name which will be looked up in all
> the OSD's PGs.
> <object> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux