So, given that, it seems I can use the stock kernel I have on the build
machine (2.6.32-504.16.2.el6.x86_64) with the rpms I built for this
newer zfs. Interesting. I'll give this a try.
All this makes it sound though, that ldiskfs will be another tale? There
are ldiskfs rpms also built during this process.
bob
On 7/22/2015 10:41 PM, Scott Nolin wrote:
You can't just use *any* kernel, but yes lustre on zfs uses a
patchless kernel, since 2.4. I also found this not clear in any
documentation.
Scott
On 7/22/2015 4:12 PM, Bob Ball wrote:
> Hi, Ned,
>
> So, it seems that you are saying, for OSS that utilize zfs, not ldiskfs,
> then I can use a stock kernel and just add the Lustre rpms on top? That
> is not something that I had ever considered, but then, we've only gone
> to zfs since Lustre 2.7.0 came out. I will try to devise a test of
> this.
>
> It is frustrating though, to follow these Twiki procedures, and end up
> with a kernel that does not seem to understand the LVM disks underlying,
> even though it was built on that same machine. It just seems wrong.
>
> bob
>
> On 7/22/2015 1:10 PM, Ned Bass wrote:
>> 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(a)lists.01.org
>>>
https://lists.01.org/mailman/listinfo/hpdd-discuss
>
> _______________________________________________
> HPDD-discuss mailing list
> HPDD-discuss(a)lists.01.org
>
https://lists.01.org/mailman/listinfo/hpdd-discuss
_______________________________________________
HPDD-discuss mailing list
HPDD-discuss(a)lists.01.org
https://lists.01.org/mailman/listinfo/hpdd-discuss