From 896246423661cff5e864e2f2ecee6b6f55ca0c9d Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Thu, 30 Aug 2007 18:10:34 +0000 Subject: [PATCH] Add note about lvm.conf tuning Reviewed-by: imsnah --- docs/install.sgml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/install.sgml b/docs/install.sgml index 4d2c27909..4f5f20e75 100644 --- a/docs/install.sgml +++ b/docs/install.sgml @@ -527,6 +527,21 @@ vgcreate xenvg /dev/sdb1 /dev/sdc1 pvcreate /dev/sdd1 vgextend xenvg /dev/sdd1 </screen> + + <formalpara> + <title>Optional</title> + <para> + It is recommended to configure LVM not to scan the DRBD + devices for physical volumes. This can be accomplished by + editing <filename>/etc/lvm/lvm.conf</filename> and adding + the <literal>/dev/drbd[0-9]+</literal> regular expression to + the <literal>filter</literal> variable, like this: +<screen> + filter = [ "r|/dev/cdrom|", "r|/dev/drbd[0-9]+|" ] +</screen> + </para> + </formalpara> + </sect2> <sect2> -- GitLab