LVM and mdadm: Add a warning against kernel versions 4.1 and 4.2, which have

a broken RAID implementation

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16572 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2015-10-27 21:31:05 +00:00
parent 842f78dff7
commit 09765cfa82
3 changed files with 42 additions and 7 deletions

View File

@ -46,6 +46,11 @@
<listitem> <listitem>
<para>October 27th, 2015</para> <para>October 27th, 2015</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[pierre] - Add a note in the LVM and mdadm pages,
warning against versions 4.1 and 4.2 of the kernel, which have
a broken RAID implementation.</para>
</listitem>
<listitem> <listitem>
<para>[fernando] - Update to mesa-11.0.4. Fixes <para>[fernando] - Update to mesa-11.0.4. Fixes
<ulink url="&blfs-ticket-root;7051">#7051</ulink>.</para> <ulink url="&blfs-ticket-root;7051">#7051</ulink>.</para>

View File

@ -90,6 +90,17 @@
<para condition="html" role="usernotes">User Notes: <para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/lvm2"/> <ulink url="&blfs-wiki;/lvm2"/>
</para> </para>
<note>
<para>
Kernel versions in the 4.1 and 4.2 series have a broken RAID
implementation. If you want to use RAID type LV's, you should
install a kernel with version above 4.2.4. Note that several
tests use RAID logical volumes, and can generate a <quote>kernel
oops</quote> with faulty kernel version, which ususally renders the
system unusable.
</para>
</note>
</sect2> </sect2>
<sect2 role="kernel" id="lvm2-kernel"> <sect2 role="kernel" id="lvm2-kernel">
@ -130,7 +141,6 @@
<screen><userinput>./configure --prefix=/usr \ <screen><userinput>./configure --prefix=/usr \
--exec-prefix= \ --exec-prefix= \
--with-confdir=/etc \
--enable-applib \ --enable-applib \
--enable-cmdlib \ --enable-cmdlib \
--enable-pkgconfig \ --enable-pkgconfig \
@ -156,10 +166,11 @@ make -C libdm install</userinput></screen>
<systemitem class="username">root</systemitem> user. Other targets are <systemitem class="username">root</systemitem> user. Other targets are
available and can be listed with <command>make -C test help</command>. available and can be listed with <command>make -C test help</command>.
The test timings are very dependent on the speed of the disk(s), and on The test timings are very dependent on the speed of the disk(s), and on
the number of enabled kernel options. A number of tests may fail. Two the number of enabled kernel options. A number of tests may fail.
tests have been reported to hang, and can be disabled via <command>rm One test has been reported to hang, and can be disabled via <command>rm
test/shell/lvcreate-large-raid.sh</command> and <command>rm test/shell/snapshot-remove-dmsetup.sh</command>. Other tests may hang
test/shell/snapshot-remove-dmsetup.sh</command>. The tests generate a lot with kernel versions in the 4.1 and 4.2 series (see above). They can be
removed as well if necessary. The tests generate a lot
of kernel messages, which may clutter your terminal. You can disable them of kernel messages, which may clutter your terminal. You can disable them
by issuing <command>dmesg -D</command> before running the tests (do not by issuing <command>dmesg -D</command> before running the tests (do not
forget to issue <command>dmesg -E</command> when tests are done). forget to issue <command>dmesg -E</command> when tests are done).
@ -223,8 +234,9 @@ make -C libdm install</userinput></screen>
<seglistitem> <seglistitem>
<seg> <seg>
blkdeactivate, dmeventd (optional), dmsetup, fsadm, lvm, lvmconf, blkdeactivate, dmeventd (optional), dmsetup, fsadm, lvm, lvmconf,
lvmdump, and vgimportclone. There are also numerous symbolic links to lvmdump, lvmetad (optional), and vgimportclone. There are also
lvm that implement specific functionalities numerous symbolic links to lvm that implement specific
functionalities
</seg> </seg>
<seg> <seg>
libdevmapper.so, liblvm2app.so and liblvm2cmd.so; optional: libdevmapper.so, liblvm2app.so and liblvm2cmd.so; optional:
@ -334,6 +346,18 @@ make -C libdm install</userinput></screen>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="lvmetad">
<term><command>lvmetad</command></term>
<listitem>
<para>
(optional) is the LVM metadata daemon.
</para>
<indexterm zone="lvm2 lvmetad">
<primary sortas="b-lvmetad">lvmetad</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="vgimportclone"> <varlistentry id="vgimportclone">
<term><command>vgimportclone</command></term> <term><command>vgimportclone</command></term>
<listitem> <listitem>

View File

@ -58,6 +58,12 @@
<para condition="html" role="usernotes">User Notes: <para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/mdadm"/></para> <ulink url="&blfs-wiki;/mdadm"/></para>
<note>
<para>
Kernel versions in series 4.1 and 4.2 have a broken RAID
implementation. Use a kernel with version above 4.2.4.
</para>
</note>
</sect2> </sect2>