From a284f164f30a525412df60479e697ca52ed47717 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 7 Dec 2017 14:12:48 +0100 Subject: [PATCH] doc: add missing subcommand in examples Add the missing 'lvm' subcommand in examples in the documentation of ceph-volume. Signed-off-by: Guillaume Abrioux --- doc/ceph-volume/lvm/prepare.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3