<div dir="ltr">also tried with some older basefile: <a href="http://fai-project.org/download/basefiles/CENTOS7_64.tar.xz">http://fai-project.org/download/basefiles/CENTOS7_64.tar.xz</a><div><br></div><div>lvm is still not being added:</div><div><br></div><div><div>ainsl: appending to /target/etc/fstab: sysfs    /sys    sysfs   auto            0 0                                                          [0/1806]</div><div>ainsl: create /target/etc/dracut.conf.d/fai.conf</div><div>ainsl: appending to /target/etc/dracut.conf.d/fai.conf: filesystems+="ext4"</div><div>No '/dev/log' or 'logger' included for syslog logging</div><div>Executing: /usr/sbin/dracut -v --kver 3.10.0-123.9.3.el7.x86_64 --force</div><div>*** Including module: bash ***</div><div>*** Including module: i18n ***</div><div>*** Including module: network ***</div><div>*** Including module: ifcfg ***</div><div>*** Including module: drm ***</div><div>*** Including module: plymouth ***</div><div>*** Including module: kernel-modules ***</div><div>*** Including module: rootfs-block ***</div><div>*** Including module: terminfo ***</div><div>*** Including module: udev-rules ***</div><div>Skipping udev rule: 91-permissions.rules</div><div>*** Including module: biosdevname ***</div><div>*** Including module: systemd ***</div><div>*** Including module: usrmount ***</div><div>*** Including module: base ***</div><div>*** Including module: fs-lib ***</div><div>*** Including module: shutdown ***</div><div>*** Including modules done ***</div><div>*** Installing kernel module dependencies and firmware ***</div><div>*** Installing kernel module dependencies and firmware done ***</div><div>*** Resolving executable dependencies ***</div><div>*** Resolving executable dependencies done***</div><div>*** Hardlinking files ***</div><div>*** Hardlinking files done ***</div><div>*** Stripping files ***</div><div>*** Stripping files done ***</div><div>*** Generating early-microcode cpio image ***</div><div>*** Constructing GenuineIntel.bin ****</div><div>*** Creating image file ***</div><div>*** Creating image file done ***</div><div>CENTOS/30-mkinitrd   OK.</div></div><div><br></div><div><br></div><div>checked for lvm binaries in /target, looks like binaries are in place.</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div><div>best regards, <br><br></div>Antanas Masevicius<br></div>TENDO LT<br></div><a href="https://tendo.lt" target="_blank">https://tendo.lt</a><br><br></div></div></div>
<br><div class="gmail_quote">On Fri, Nov 7, 2014 at 4:07 PM, Antanas Masevicius <span dir="ltr"><<a href="mailto:antanas.masevicius@gmail.com" target="_blank">antanas.masevicius@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">looks like dracut executed from CENTOS/30-mkinitrd does not include lvm; excerpt from shell.log:<div><br></div><div><div>insl: appending to /target/etc/fstab: proc     /proc   proc    defaults        0 0</div><div>ainsl: appending to /target/etc/fstab: sysfs    /sys    sysfs   auto            0 0</div><div>ainsl: create /target/etc/dracut.conf.d/fai.conf</div><div>ainsl: appending to /target/etc/dracut.conf.d/fai.conf: filesystems+="ext4"</div><div>No '/dev/log' or 'logger' included for syslog logging</div><div>Executing: /usr/sbin/dracut -v --kver 3.10.0-123.9.3.el7.x86_64 --force</div><div>*** Including module: bash ***</div><div>*** Including module: i18n ***</div></div><div>...</div><div><br></div><div>and no lvm.</div><div><br></div><div>I am not sure how this dracut determines what modules to include, but adding </div><div>add_dracutmodules+="lvm"</div><div>to</div><div>/srv/fai/nfsroot/etc/dracut.conf<br></div><div><br></div><div>did not help</div><div><br></div><div>I also noticed that building CENTOS6 basefile i get noticed about missing libdevmapper:</div><div><br></div><div><div>./mk-basefile -J CENTOS6_64</div><div>[42:112] Copy from cache: libcurl-7.19.7-37.el6_5.3.x86_64.rpm ..                                                                                  [Harmless] Failed to find download link for libdevmapper</div><div><br></div><div>Extracting: nss-3.16.1-14.el6.x86_64.rpm</div></div><div>..</div><div><br></div><div>i don't notice the same error with ./mk-basefile -J CENTOS7_64, but in shell.log i see that dm module is also missing.</div><div>As i understand, installing lvm depends on this dm module:</div><div><br></div><div><div># /srv/fai/nfsroot/usr/lib/dracut/modules.d/90lvm/module-setup.sh</div><div>depends() {</div><div>    # We depend on dm_mod being loaded</div><div>    echo rootfs-block dm</div><div>    return 0</div><div>}</div></div><div><br></div><div>any thoughts how to proceed further?</div><div><br></div><div class="gmail_extra"><span class=""><br clear="all"><div><div><div dir="ltr"><div><div><div>best regards, <br><br></div>Antanas Masevicius<br></div>TENDO LT<br></div><a href="https://tendo.lt" target="_blank">https://tendo.lt</a><br><br></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Fri, Nov 7, 2014 at 3:15 PM, Thomas Lange <span dir="ltr"><<a href="mailto:lange@informatik.uni-koeln.de" target="_blank">lange@informatik.uni-koeln.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span>>>>>> On Fri, 7 Nov 2014 14:53:36 +0200, Antanas Masevicius <<a href="mailto:antanas.masevicius@gmail.com" target="_blank">antanas.masevicius@gmail.com</a>> said:<br>
<br>
    > it looks like there is no lvm module in that initramfs file. <br>
</span>That not good.<br>
<span><br>
    > shell.log:  /run/lvm/lvmetad.socket: connect failed: No such file or directory<br>
    > shell.log:  WARNING: Failed to connect to lvmetad: No such file or directory. Falling back to internal scanning.<br>
</span>You should read the whole shell.log<br>
<span><font color="#888888"><br>
--<br>
regards Thomas<br>
</font></span></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>