]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/ceph-volume prepapre accepts a --dmcrypt flag
authorAlfredo Deza <adeza@redhat.com>
Thu, 17 May 2018 12:45:26 +0000 (08:45 -0400)
committerAndrew Schoen <aschoen@redhat.com>
Tue, 12 Jun 2018 13:51:04 +0000 (08:51 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e97d0717d323a08a46aa997c63d2416da7e4941f)

doc/ceph-volume/lvm/prepare.rst

index de29a782a1070bcbbd84ae52f735682876b66160..700d1216a55b65cb2f67b2d0668437359758086a 100644 (file)
@@ -42,6 +42,10 @@ The API call looks like::
 
     ceph-volume prepare --filestore --data data --journal journal
 
+For enabling :ref:`encryption <ceph-volume-lvm-encryption>`, the ``--dmcrypt`` flag is required::
+
+    ceph-volume lvm prepare --filestore --dmcrypt --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
 since ``ceph-volume`` is just going to create a unique volume group and
@@ -148,6 +152,9 @@ A raw device can be specified in the same way::
 
     ceph-volume lvm prepare --bluestore --data /path/to/device
 
+For enabling :ref:`encryption <ceph-volume-lvm-encryption>`, the ``--dmcrypt`` flag is required::
+
+    ceph-volume lvm prepare --bluestore --dmcrypt --data vg/lv
 
 If a ``block.db`` or a ``block.wal`` is needed (they are optional for
 bluestore) they can be specified with ``--block.db`` and ``--block.wal``