From: Alfredo Deza Date: Thu, 9 Nov 2017 11:49:49 +0000 (-0500) Subject: ceph-volume simple.activate add --file in help docstring as an example X-Git-Tag: v12.2.2~23^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9a8a00d3a17f03d2b1b3a92662f7288f7d18fe7a;p=ceph.git ceph-volume simple.activate add --file in help docstring as an example Signed-off-by: Alfredo Deza (cherry picked from commit ff60592897b63581ebce372b3f6ffa0f10d2fe5a) --- diff --git a/src/ceph-volume/ceph_volume/devices/simple/activate.py b/src/ceph-volume/ceph_volume/devices/simple/activate.py index f3e7559f8125..fdc50f0fa514 100644 --- a/src/ceph-volume/ceph_volume/devices/simple/activate.py +++ b/src/ceph-volume/ceph_volume/devices/simple/activate.py @@ -87,10 +87,14 @@ class Activate(object): def main(self): sub_command_help = dedent(""" Activate OSDs by mounting devices previously configured to their - appropriate destination: + appropriate destination:: ceph-volume simple activate {ID} {FSID} + Or using a JSON file directly:: + + ceph-volume simple activate --file /etc/ceph/osd/{ID}-{FSID}.json + The OSD must have been "scanned" previously (see ``ceph-volume simple scan``), so that all needed OSD device information and metadata exist.