]> git.proxmox.com Git - ceph.git/blobdiff - ceph/doc/ceph-volume/lvm/prepare.rst
update sources to 12.2.7
[ceph.git] / ceph / 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``