CENTOS with LVM layout

Antanas Masevicius antanas.masevicius at gmail.com
Fri Nov 7 13:53:36 CET 2014


it looks like there is no lvm module in that initramfs file.

Not sure if its relative, but after installtion, in error.log file i see
following entires:

fai.log:repository.CENTOS    FAILED with exit code 1.
fai.log:CENTOS/40-install-grub FAILED with exit code 1.
shell.log:  /run/lvm/lvmetad.socket: connect failed: No such file or
directory
shell.log:  WARNING: Failed to connect to lvmetad: No such file or
directory. Falling back to internal scanning.

i will check if i see the same errors with CENTOS6 also.

best regards,

Antanas Masevicius
TENDO LT
https://tendo.lt


On Fri, Nov 7, 2014 at 12:49 PM, Thomas Lange <lange at informatik.uni-koeln.de
> wrote:

> >>>>> On Fri, 7 Nov 2014 12:04:51 +0200, Antanas Masevicius <
> antanas.masevicius at gmail.com> said:
>
>     > thanks for the tip. Added base to to yumgroup. Still, the same
> result. lvm command still not available. Maybe has something to do with lvm
>     > not being loaded into ram disk? Not sure how it works.
>
>     > Any thoughts how to debug it further?
> You can use lsinitrd to get the content of the initrd. dracut is
> responsible for putting all things into the initrd.
>
> First check if the lvm commands are available in /target at the end of
> the installation. Then chroot into /target and call lsinitrd to see if
> the lvm commands are in the initrd.
>
> If not, you can tell dracut which "modules" to add into the
> initrd. See dracut.conf for more infos and dracut.cmdline for
> debugging help.
> --
> regards Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20141107/20047cb5/attachment.html>


More information about the linux-fai mailing list