]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd: add clone mapping command 56208/head
authorZac Dover <zac.dover@proton.me>
Thu, 14 Mar 2024 08:37:23 +0000 (18:37 +1000)
committerZac Dover <zac.dover@proton.me>
Fri, 15 Mar 2024 04:16:23 +0000 (14:16 +1000)
Add a command that explains how to map a formatted clone when the parent
image and the formatted clone have different encryption types.

Signed-off-by: Zac Dover <zac.dover@proton.me>
(cherry picked from commit d34c1879c8886ec7f19c7a93490c4736ae9a6d20)

doc/rbd/rbd-encryption.rst

index a13839efe0776912b678f88192ad5fe75e6223f5..e9c788ecb2837a17af127ba18aba55099644c372 100644 (file)
@@ -250,7 +250,7 @@ Here is an example of a command that maps a formatted clone:
 
 .. prompt:: bash #
 
-   rbd device map -t nbd -o encryption-passphrase-file=clone-passphrase.bin -o encryption-passphrase-file=passphrase.bin mypool/myclone
+   rbd device map -t nbd -o encryption-passphrase-file=clone-passphrase.bin,encryption-passphrase-file=passphrase.bin mypool/myclone
 
 .. _journal feature: ../rbd-mirroring/#enable-image-journaling-feature
 .. _Supported Formats: #supported-formats