From: Guillaume Abrioux Date: Thu, 7 Dec 2017 13:12:48 +0000 (+0100) Subject: doc: add missing subcommand in examples X-Git-Tag: v13.0.2~843^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19381%2Fhead;p=ceph.git doc: add missing subcommand in examples Add the missing 'lvm' subcommand in examples in the documentation of ceph-volume. Signed-off-by: Guillaume Abrioux --- diff --git a/doc/ceph-volume/lvm/prepare.rst b/doc/ceph-volume/lvm/prepare.rst index 527994599f20c..d06586af0e443 100644 --- a/doc/ceph-volume/lvm/prepare.rst +++ b/doc/ceph-volume/lvm/prepare.rst @@ -40,7 +40,7 @@ journal. The API call looks like:: - ceph-volume prepare --filestore --data volume_group/lv_name --journal journal + ceph-volume lvm prepare --filestore --data volume_group/lv_name --journal journal There is flexibility to use a raw device or partition as well for ``--data`` that will be converted to a logical volume. This is not ideal in all situations @@ -58,12 +58,12 @@ device name (or path). When using a partition, this is how it would look for ``/dev/sdc1``:: - ceph-volume prepare --filestore --data volume_group/lv_name --journal /dev/sdc1 + ceph-volume lvm prepare --filestore --data volume_group/lv_name --journal /dev/sdc1 For a logical volume, just like for ``--data``, a volume group and logical volume name are required:: - ceph-volume prepare --filestore --data volume_group/lv_name --journal volume_group/journal_lv + ceph-volume lvm prepare --filestore --data volume_group/lv_name --journal volume_group/journal_lv A generated uuid is used to ask the cluster for a new OSD. These two pieces are crucial for identifying an OSD and will later be used throughout the