Changeset 99fcc47


Ignore:
Timestamp:
10/25/2015 11:23:37 AM (8 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
08347b2
Parents:
8e236eb
Message:

LVM2: Update introduction and
give more details in the test section

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16565 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r8e236eb r99fcc47  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "24">                   <!-- Always 2 digits -->
     3<!ENTITY day          "25">                   <!-- Always 2 digits -->
    44<!ENTITY month        "10">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2015">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "October 24th &year;">
     9<!ENTITY releasedate  "October 25th &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r8e236eb r99fcc47  
    4646
    4747    <listitem>
     48      <para>October 25th, 2015</para>
     49      <itemizedlist>
     50        <listitem>
     51          <para>[pierre] - LVM2: Update introduction and test sections.</para>
     52        </listitem>
     53      </itemizedlist>
     54    </listitem>
     55
     56    <listitem>
    4857      <para>October 24th, 2015</para>
    4958      <itemizedlist>
  • postlfs/filesystems/lvm2.xml

    r8e236eb r99fcc47  
    99  <!ENTITY lvm2-md5sum        "80af5af726949bbbb2aceb15b24b7d20">
    1010  <!ENTITY lvm2-size          "1.8 MB">
    11   <!ENTITY lvm2-buildsize     "31 MB (44 MB with tests)">
    12   <!ENTITY lvm2-time          "0.3 SBU (9.7 SBU with tests, see below)">
     11  <!ENTITY lvm2-buildsize     "31 MB (during tests, transcient files can grow up to around 500 MB)">
     12  <!ENTITY lvm2-time          "0.3 SBU (around 10 SBU with tests, see below)">
    1313]>
    1414
     
    3131
    3232    <para>
    33       The <application>LVM2</application> package is a package that manages
     33      The <application>LVM2</application> package is a set of tools that manage
    3434      logical partitions. It allows spanning of file systems across multiple
    3535      physical disks and disk partitions and provides for dynamic growing or
    36       shrinking of logical partitions.
     36      shrinking of logical partitions, mirroring and low storage footprint
     37      snapshots.
    3738    </para>
    3839
     
    7778    <bridgehead renderas="sect4">Optional</bridgehead>
    7879    <para role="optional">
    79       <xref linkend='mdadm'/> (for checks) and
    80       <xref linkend='xfsprogs'/> (for checks)
     80      <xref linkend='mdadm'/>,
     81      <xref linkend='reiserfs'/>,
     82      <xref linkend='valgrind'/>,
     83      <xref linkend='which'/>,
     84      <xref linkend='xfsprogs'/> (all five may be used, but are not required,
     85        for tests), and
     86      <ulink url='https://github.com/jthornber/thin-provisioning-tools'>
     87        thin-provisioning-tools</ulink>
    8188    </para>
    8289
     
    105112    &lt;*/M/ &gt;   Crypt target support                        [CONFIG_DM_CRYPT]
    106113    &lt;*/M/ &gt;   Snapshot target                             [CONFIG_DM_SNAPSHOT]
     114    &lt;*/M/ &gt;   Thin provisioning target                    [CONFIG_DM_THIN_PROVISIONING]
    107115    &lt;*/M/ &gt;   Mirror target                               [CONFIG_DM_MIRROR]</literal></screen>
    108116
     
    131139
    132140    <para>
    133       To test the results, issue: <command>make -k
    134       check</command> as the <systemitem class="username">root</systemitem>
    135       user. At least one partition on a hard drive must be set up as a Linux
    136       LVM partition (type 8e00). The test timings are very dependent on the
    137       speed of the disk(s), and on the number of enabled kernel options. A
    138       number of tests may fail. Tests have been reported to hang when run in
    139       a virtual machine under <application>QEMU</application>.
    140 <!-- My results: 460 tests: 121 passed, 307 skipped, 21 broken, 11 failed
    141      version LVM2-2.02.132. Not all kernel settings enabled, but those
    142      above all were set. Previous reported test results for LVM2-2.02.125
    143       by Bruce were better (448 tests: 141 passed, 302 skipped, 5 broken,
    144       0 failed). - Pierre -->
     141      The tests use <application>udev</application> for logical volume
     142      synchronization, so that the LVM udev rules and some utilities need to
     143      be installed before running the tests. If you are installing
     144      <application>LVM2</application> for the first time, and do not
     145      want to install the full package before running the tests, the minimal
     146      set of utilities can be installed by running the following instructions
     147      as the <systemitem class="username">root</systemitem> user:
     148    </para>
     149
     150<screen role="root"><userinput>make -C tools install_dmsetup_dynamic &amp;&amp;
     151make -C udev  install                 &amp;&amp;
     152make -C libdm install</userinput></screen>
     153
     154    <para>
     155      To test the results, issue: <command>make check_local</command> as the
     156      <systemitem class="username">root</systemitem> user. Other targets are
     157      available and can be listed with <command>make -C test help</command>.
     158      The test timings are very dependent on the speed of the disk(s), and on
     159      the number of enabled kernel options. A number of tests may fail. Two
     160      tests have been reported to hang, and can be disabled via <command>rm
     161      test/shell/lvcreate-large-raid.sh</command> and <command>rm
     162      test/shell/snapshot-remove-dmsetup.sh</command>. The tests generate a lot
     163      of kernel messages, which may clutter your terminal. You can disable them
     164      by issuing <command>dmesg -D</command> before running the tests (do not
     165      forget to issue <command>dmesg -E</command> when tests are done).
    145166    </para>
    146167
     
    181202      building of the <application>Device Mapper</application>
    182203      event daemon.
     204    </para>
     205
     206    <para>
     207      <option>--enable-lvmetad</option>: This switch enables
     208      building of the <application>LVM</application> metadata daemon,
     209      which avoids scanning all the filesystems when an lvm command is
     210      run.
    183211    </para>
    184212
Note: See TracChangeset for help on using the changeset viewer.