Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/filesystems/lvm2.xml

    rbbc76b21 rdd3031a  
    77  <!ENTITY lvm2-download-http "https://sourceware.org/ftp/lvm2/LVM2.&lvm2-version;.tgz">
    88  <!ENTITY lvm2-download-ftp  "ftp://sourceware.org/pub/lvm2/LVM2.&lvm2-version;.tgz">
    9   <!ENTITY lvm2-md5sum        "5a011a90e580f9e29df360a7c10332a1">
    10   <!ENTITY lvm2-size          "2.5 MB">
    11   <!ENTITY lvm2-buildsize     "37 MB (add 18 MB for tests; transient files can grow up to around 800 MB in the /tmp directory during tests)">
     9  <!ENTITY lvm2-md5sum        "cda7b89ae45ddb4a0cee768645ac9757">
     10  <!ENTITY lvm2-size          "2.6 MB">
     11  <!ENTITY lvm2-buildsize     "48 MB (add 25 MB for tests; transient files can grow up to around 800 MB in the /tmp directory during tests)">
    1212  <!-- My build size was 124 MB with tests, but I'll leave this here. -renodr
    1313       The files in /tmp are transient. I monitor /tmp with a loop during
    1414       tests. -pierre, August 2020 -->
    15   <!ENTITY lvm2-time          "0.2 SBU (using parallelism=4; add 9 to 48 SBU for tests, depending on disk speed)">
     15  <!ENTITY lvm2-time          "0.1 SBU (using parallelism=4; add 9 to 48 SBU for tests, depending on disk speed)">
    1616]>
    1717
     
    1919  <?dbhtml filename="lvm2.html"?>
    2020
    21   <sect1info>
    22     <date>$Date$</date>
    23   </sect1info>
    2421
    2522  <title>LVM2-&lvm2-version;</title>
     
    4037    </para>
    4138
    42     &lfs110a_checked;
     39    &lfs112_checked;
    4340
    4441    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    166163<screen role="root"
    167164        remap="test"><userinput>make -C tools install_tools_dynamic &amp;&amp;
    168 make -C udev  install                 &amp;&amp;
     165make -C udev  install               &amp;&amp;
    169166make -C libdm install</userinput></screen>
    170167
     
    175172
    176173<screen role="root"
    177         remap="test"><userinput>LC_ALL=en_US.UTF-8 make S=lvconvert-repair-replace check_local</userinput></screen>
    178 
    179     <para>
    180       The <command>S=...</command> option allows to skip tests. The
    181       <command>lvconvert-repair-replace</command> test has been reported
    182       to hang.
     174        remap="test"><userinput>LC_ALL=en_US.UTF-8 make check_local</userinput></screen>
     175
     176    <para>
     177      Some tests may hang. In this case they can be skipped by adding
     178      <command>S=&lt;testname&gt;</command> to the <command>make</command>
     179      command.
    183180      Other targets are available and can be listed with
    184181      <command>make -C test help</command>. The test timings are very dependent
     
    203200    Results for LVM2.2.03.14:
    204201    ### 389 tests: 304 passed, 73 skipped, 0 timed out, 2 warned, 10 failed
     202
     203    Results for LVM2.2.03.16:
     204    ### 395 tests: 241 passed, 145 skipped, 0 timed out, 1 warned, 8 failed
     205
     206    Results for LVM2.2.03.17:
     207    ### 403 tests: 333 passed, 61 skipped, 0 timed out, 3 warned, 6 failed
    205208    -->
    206209
     
    247250
    248251<screen role="root" revision="sysv"><userinput>make install
    249 rm /usr/lib/udev/rules.d/69-dm-lvm.rules</userinput></screen>
     252rm -fv /usr/lib/udev/rules.d/69-dm-lvm.rules</userinput></screen>
    250253
    251254<screen role="root" revision="systemd"><userinput>make install
     
    300303    </para>
    301304
     305  </sect2>
     306
     307  <sect2 role="configuration" revision="systemd">
     308    <title>Configuring LVM2</title>
     309
     310    <sect3 id="lvm2-config">
     311      <title>Config File</title>
     312      <para>
     313        <filename>/etc/lvm/lvm.conf</filename>
     314      </para>
     315
     316      <indexterm zone="lvm2 lvm2-config">
     317        <primary
     318        sortas="e-etc-lvm-lvm.conf">/etc/lvm/lvm.conf</primary>
     319      </indexterm>
     320    </sect3>
     321
     322    <sect3><title>Configuration Information</title>
     323      <para>
     324        The default configuration still references the obsolete <filename
     325        class="directory">/var/lock</filename> directory. This creates
     326        a deadlock at boot time. Change this (as the <systemitem
     327        class="username">root</systemitem> user):
     328      </para>
     329
     330<screen role="root"><userinput>sed -e '/locking_dir =/{s/#//;s/var/run/}' \
     331    -i /etc/lvm/lvm.conf</userinput></screen>
     332
     333    </sect3>
    302334  </sect2>
    303335
     
    390422          <para>
    391423            provides the command-line tools for <application>LVM2</application>.
    392             Commands are implemented via sympolic links to this program to
     424            Commands are implemented via symbolic links to this program to
    393425            manage physical devices (pv*), volume groups (vg*) and logical
    394426            volumes (lv*)
Note: See TracChangeset for help on using the changeset viewer.