[lustre-discuss] Installing zfs and lustre

Kyriazis, George george.kyriazis at intel.com
Wed Oct 5 15:24:13 PDT 2016


Hello lustre-discuss,

I am trying to setup lustre + zfs on a set of virtual machines, for testing purposes.

I have managed to get plain lustre + ldiskfs working, which is great!

The main problem that I'm having is that the osd-zfs kernel module has symbol version mismatches.  Initially I went down the path of trying to download the right version of zfs, to match symbol versions, but had trouble with it.

I then came across a post, here, in lustre-discuss, by Christopher Morrone, saying not to do that, but rather, compile lustre from an SRPM using stock kernel.  I am having a problem doing that, though, last few lines of compilation below.

Any help is appreciated!

Thank you!

George

[root at l-2 lustre]# rpmbuild --rebuild --with zfs --without ldiskfs lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.src.rpm

...

make[3]: Leaving directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre/lov'
make[2]: Leaving directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre/lov'
Making install in osc
make[2]: Entering directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre/osc'
make[3]: Entering directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre/osc'
make[3]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/root/rpmbuild/BUILDROOT/lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.x86_64/lib/modules/3.10.0-327.36.1.el7.x86_64/extra/kernel/fs/lustre'
/usr/bin/install -c -m 644 osc.ko '/root/rpmbuild/BUILDROOT/lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.x86_64/lib/modules/3.10.0-327.36.1.el7.x86_64/extra/kernel/fs/lustre'
make[3]: Leaving directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre/osc'
make[2]: Leaving directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre/osc'
make[2]: Entering directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre'
make[3]: Entering directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre'
make[2]: Leaving directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre'
make[1]: Leaving directory `/root/rpmbuild/BUILD/lustre-2.8.0/lustre'
+ :
+ ln -s Lustre.ha_v2 /root/rpmbuild/BUILDROOT/lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.x86_64/etc/ha.d/resource.d/Lustre
ln: failed to create symbolic link '/root/rpmbuild/BUILDROOT/lustre-2.8.0-3.10.0_327.3.1.el7_lustre.x86_64.x86_64/etc/ha.d/resource.d/Lustre': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.AoDpo8 (%install)


RPM build errors:
    user jenkins does not exist - using root
    group jenkins does not exist - using root
    user jenkins does not exist - using root
    group jenkins does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.AoDpo8 (%install)
[root at l-2 lustre]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20161005/b018d4b5/attachment.htm>


More information about the lustre-discuss mailing list