How's this?


On Tue, 20 Sep 2016 at 21:29 Thomas Lange <la...@informatik.uni-koeln.de>
wrote:

> >>>>> On Tue, 20 Sep 2016 11:36:41 +0000, Paul Schulz <
> p...@mawsonlakes.org> said:
>
>     > Can this be put into the documentation somewhere?
> Do you have a patch for this?
> --
> regards Thomas
>
From be684c91c3a1eac7ea2d2707ebeffc08bd459f02 Mon Sep 17 00:00:00 2001
From: Paul Schulz <p...@mawsonlakes.org>
Date: Wed, 21 Sep 2016 09:18:47 +0930
Subject: [PATCH] Added additonal cryptsetup documentation for setup-storage

---
 man/setup-storage.8 | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/man/setup-storage.8 b/man/setup-storage.8
index f0e14de..cffdb3e 100644
--- a/man/setup-storage.8
+++ b/man/setup-storage.8
@@ -330,11 +330,30 @@ luks    /local00        /dev/sdb7       ext3    defaults,errors=remount-ro  crea
 Configure /dev/sdb with 2 primary partitions, one extended partition, and 3
 logical partitions.
 .IP \(bu
-Encrypt the swap space, /tmp, and /local00. As described in the CAVEATS section,
-the encryption keys will be stored in a temporary directory only.
+Encrypt the swap space, /tmp, and /local00. As described in the
+CAVEATS section, the encryption keys will be stored in a temporary
+directory only.
+.IP \(bu
+Do not forget to install the cryptsetup package on a system using
+thus scheme.
 .IP \(bu
 The initial password for the encrypted device can also be set in
 the configuration file by using the syntax - luks:"secret"
+.IP \(bu
+With a working RAID+LVM configuration, an encryption layer can be
+added between the RAID and LVM device layers by adding the following
+cryptsetup configuration. In this case, the encrypted device will be
+called 'crypt_format_md1' and will be used as the underlying physical
+device (PV) in LVM.
+
+.sp
+.nf
+.ta 10n 20n 30n 40n 50n
+disk_config cryptsetup
+luks    -        /dev/md1       -       -
+.sp
+.fi
+.PP
 
 .TP
 tmpfs example
-- 
2.7.4

Antwort per Email an