Skip to content
Snippets Groups Projects
Commit 89624642 authored by Iustin Pop's avatar Iustin Pop
Browse files

Add note about lvm.conf tuning

Reviewed-by: imsnah
parent a0e7cec8
No related merge requests found
...@@ -527,6 +527,21 @@ vgcreate xenvg /dev/sdb1 /dev/sdc1 ...@@ -527,6 +527,21 @@ vgcreate xenvg /dev/sdb1 /dev/sdc1
pvcreate /dev/sdd1 pvcreate /dev/sdd1
vgextend xenvg /dev/sdd1 vgextend xenvg /dev/sdd1
</screen> </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>
<sect2> <sect2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment