Re: CENTOS with LVM layout

2014-11-13 Diskussionsfäden Antanas Masevicius
Hello, looks like i managed to force fai to build working initramfs. modified: /srv/fai/config/scripts/CENTOS/30-mkinitrd # call dracut for CentOS 7 if [ -f $target/usr/sbin/dracut ]; then # add filesystem driver into initrd ainsl -av /etc/dracut.conf.d/fai.conf 'filesystems+="ext4"' +

Re: CENTOS with LVM layout

2014-11-07 Diskussionsfäden Antanas Masevicius
also tried with some older basefile: http://fai-project.org/download/basefiles/CENTOS7_64.tar.xz lvm is still not being added: ainsl: appending to /target/etc/fstab: sysfs/syssysfs auto 0 0 [0/1806] ainsl: create /target/etc/

Re: CENTOS with LVM layout

2014-11-07 Diskussionsfäden Antanas Masevicius
looks like dracut executed from CENTOS/30-mkinitrd does not include lvm; excerpt from shell.log: insl: appending to /target/etc/fstab: proc /proc procdefaults 0 0 ainsl: appending to /target/etc/fstab: sysfs/syssysfs auto 0 0 ainsl: create /target/etc/dracut.conf.d/fai.

Re: CENTOS with LVM layout

2014-11-07 Diskussionsfäden Thomas Lange
> On Fri, 7 Nov 2014 14:53:36 +0200, Antanas Masevicius > said: > it looks like there is no lvm module in that initramfs file.  That not good. > shell.log:  /run/lvm/lvmetad.socket: connect failed: No such file or directory > shell.log:  WARNING: Failed to connect to lvmeta

Re: CENTOS with LVM layout

2014-11-07 Diskussionsfäden Antanas Masevicius
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.CENTOSFAILED with exit code 1. fai.log:CENTOS/40-install-grub FAILED with exit code 1. shell.log: /run/lvm/lvmetad.socke

Re: CENTOS with LVM layout

2014-11-07 Diskussionsfäden Thomas Lange
> On Fri, 7 Nov 2014 12:04:51 +0200, Antanas Masevicius > 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 though

Re: CENTOS with LVM layout

2014-11-07 Diskussionsfäden Antanas Masevicius
Hello, 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? best regards, Antanas Masevicius TENDO LT https://tendo.

Re: CENTOS with LVM layout

2014-11-07 Diskussionsfäden Thomas Lange
> On Fri, 7 Nov 2014 09:43:57 +0200, Antanas Masevicius > said: > one more note. After boot drops to dracut console i don't event see lvm command available. Is it some packaging issue? I made my  > CENTOS7_64.tar.xz with mk-basefile If packages are missing, you should ad the to

Re: CENTOS with LVM layout

2014-11-06 Diskussionsfäden Antanas Masevicius
hi, one more note. After boot drops to dracut console i don't event see lvm command available. Is it some packaging issue? I made my CENTOS7_64.tar.xz with mk-basefile best regards, Antanas Masevicius TENDO LT https://tendo.lt On Fri, Nov 7, 2014 at 9:26 AM, Antanas Masevicius < antanas.masevi

Re: CENTOS with LVM layout

2014-11-06 Diskussionsfäden Antanas Masevicius
Hello, tried adding this option by editing grub boot prompt. Still, the same result. Boot log show dracut version: dracut-033-161.el7_0.171, this is included in CENTOS7_64.tar.xz as i understand? best regards, Antanas Masevicius TENDO LT https://tendo.lt On Thu, Nov 6, 2014 at 11:56 PM, Thom

Re: CENTOS with LVM layout

2014-11-06 Diskussionsfäden Thomas Lange
> On Thu, 6 Nov 2014 15:19:47 +0200, Antanas Masevicius > said: > lately i tried installing CENTOS 6 and 7 with LVM partitions: > but after successful installation, rebooting stops at: > dracut-initqueue: Warning: /dev/mapper/vg1-root_ does not exists Please check if you hav

Re: CENTOS with LVM layout

2014-11-06 Diskussionsfäden Antanas Masevicius
Hello, posting setup-storage relative config: Starting setup-storage 1.7 Using config file: /var/lib/fai/config/disk_config/CENTOS Creating directory "/run/lock/lvm" Finding all volume groups No volume groups found Executing: parted -s /dev/sda mklabel msdos Executing: parted

Re: CENTOS with LVM layout

2014-11-06 Diskussionsfäden Kerim Güney
Hey, do you have a fai.log you could post? It might be a setup-storage issue. Best regards, Kerim 6 Kasım 2014 14:19:47 CET, Antanas Masevicius yazdı: >Hello, > >lately i tried installing CENTOS 6 and 7 with LVM partitions: > >disk_config disk1 bootable:1 fstabkey:uuid >primary /boot 300

CENTOS with LVM layout

2014-11-06 Diskussionsfäden Antanas Masevicius
Hello, lately i tried installing CENTOS 6 and 7 with LVM partitions: disk_config disk1 bootable:1 fstabkey:uuid primary /boot 300 ext4rw logical - 0- - - disk_config lvm fstabkey:uuid vg vg1 disk1.5 vg1-root_ /12G ext4 rw,errors=remount-ro vg1-sw