[lustre-discuss] [HPDD-discuss] Trying to rebuild all Lustre rpms with zfs 0.6.4.2 -- and failing

Ned Bass bass6 at llnl.gov
Wed Jul 22 10:10:51 PDT 2015


Hi Bob,


On Wed, Jul 22, 2015 at 10:21:41AM -0400, Bob Ball wrote:
> Hi,
> 
> I'm looking for someone who can give me advice on a problem I am
> having rebuilding the full set (server and client) of Lustre rpms,
> including zfs support on the server side.  The 2.7.0 rpms as
> distributed were built with zfs 0.6.3, and do not work with 0.6.4.

It's not clear to me from your description how below the boot failure is
related to Lustre or ZFS. But you may be able to avoid this whole issue
by using the stock kernel packaged by your distribution rather than
building your own. That _should_ be possible if you're not using
ldiskfs.

Ned

> 
> So, I follow the directions here, fetching the current git source
> which is something like 2.7.56:
> https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=8126821
> I modified this as follows to include zfs:
> 
> cd /usr/src/spl-0.6.4.2/
> ./configure --with-config=kernel
> make all
> cd ../zfs-0.6.4.2/
> ./configure --with-config=kernel
> make all
> 
> Then, when I reach the stage of building the Lustre rpms, I prepare by
> ./configure --with-linux=/home/build/kernel/rpmbuild/BUILD/kernel-2.6.32.504.16.2.el6_lustre/
> --with-zfs=/usr/src/zfs-0.6.4.2 --with-spl=/usr/src/spl-0.6.4.2
> 
> I install the kernel rpm, create the initramfs, and reboot.
> 
> This is where it all goes horribly wrong.  Our systems are built
> with LVM partitions, with the exception of the /boot partition on
> /dev/sda1.  grub.conf is seen there in sda1, the kernel choice is
> made, it starts going.  Then nothing.  The console goes silent.  It
> appears that the kernel cannot access the LVM partitions.  From
> everything I can see, dracut knows about them, but I am at a loss on
> how to proceed.
> 
> /sbin/new-kernel-pkg --package kernel --mkinitrd --dracut --depmod
> --install 2.6.32.504.16.2.el6_lustre
> 
> title Scientific Linux (2.6.32.504.16.2.el6_lustre)
>         root (hd0,0)
>         kernel /vmlinuz-2.6.32.504.16.2.el6_lustre ro
> root=/dev/mapper/vg0-lv_root rd_NO_LUKS rd_LVM_LV=vg0/lv_root
> LANG=en_US.UTF-8 rd_NO_MD rhgb quiet selinux=0 rd_LVM_LV=vg0/lv_swap
> SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc
> KEYTABLE=us rd_NO_DM rhgb quiet printk.time=1 console=tty0
> console=ttyS1,57600n8
>         initrd /initramfs-2.6.32.504.16.2.el6_lustre.img
> 
> Can anyone advise me on how to proceed with this?  I'd really like
> to get the upgraded zfs in use over the 0.6.3 that is running now.
> 
> Thanks,
> bob
> 
> _______________________________________________
> HPDD-discuss mailing list
> HPDD-discuss at lists.01.org
> https://lists.01.org/mailman/listinfo/hpdd-discuss


More information about the lustre-discuss mailing list