From: Sameer Tiwari Date: Wed, 7 Jun 2017 07:22:20 +0000 (-0400) Subject: Documentation Fixes for http://tracker.ceph.com/issues/19879 X-Git-Tag: v12.1.0~192^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dcefefb554bc608b8033517eb559e0ca979c03b8;p=ceph.git Documentation Fixes for http://tracker.ceph.com/issues/19879 and related bug http://tracker.ceph.com/issues/20057 Signed-off-by: Sameer Tiwari --- diff --git a/doc/man/8/ceph-osd.rst b/doc/man/8/ceph-osd.rst index e8b2805b14e..6c484c386ce 100644 --- a/doc/man/8/ceph-osd.rst +++ b/doc/man/8/ceph-osd.rst @@ -10,7 +10,7 @@ Synopsis ======== | **ceph-osd** -i *osdnum* [ --osd-data *datapath* ] [ --osd-journal - *journal* ] [ --mkfs ] [ --mkjournal ] [ --mkkey ] + *journal* ] [ --mkfs ] [ --mkjournal ] [--flush-journal] [--check-allows-journal] [--check-wants-journal] [--check-needs-journal] [ --mkkey ] Description @@ -57,6 +57,18 @@ Options Journal updates to *journal*. +.. option:: --check-allows-journal + + Check whether a journal is desired. + +.. option:: --check-wants-journal + + Check whether a journal is allowed. + +.. option:: --check-needs-journal + + Check whether a journal is required. + .. option:: --mkfs Create an empty object repository. This also initializes the journal diff --git a/src/ceph_osd.cc b/src/ceph_osd.cc index 5135c81ed94..a27ffb8548f 100644 --- a/src/ceph_osd.cc +++ b/src/ceph_osd.cc @@ -78,6 +78,7 @@ static void usage() << " --osd-journal PATH\n" << " journal file or block device\n" << " --mkfs create a [new] data directory\n" + << " --mkkey generate a new secret key. This is normally used in combination with --mkfs\n" << " --convert-filestore\n" << " run any pending upgrade operations\n" << " --flush-journal flush all data out of journal\n"