[lustre-discuss] Building lustre with zfs only

Dilger, Andreas andreas.dilger at intel.com
Mon Dec 14 23:36:59 PST 2015


On 2015/12/15, 00:07, "lustre-discuss on behalf of Andrus, Brian Contractor" <lustre-discuss-bounces at lists.lustre.org<mailto:lustre-discuss-bounces at lists.lustre.org> on behalf of bdandrus at nps.edu<mailto:bdandrus at nps.edu>> wrote:

All,

Not sure what the issue is, but I am trying to build the server packages for lustre using zfs only.

I download the source and configure:

./configure  --without-ldiskfs --enable-server

This fails with:
checking zfs devel headers... -I /usr/src/zfs-0.6.4.2/lib/libspl/include -I /usr/src/zfs-0.6.4.2/include
configure: WARNING:

Disabling optional zfs osd due to missing development headers.

Support for zfs can be enabled by downloading the required packages for your
distribution.  See http://zfsonlinux.org/ to determine is zfs is supported by
your distribution.

configure: error: cannot enable servers, no backends were configured

So it seems to think I am missing the zfs devel headers, which are there in the path configure found them.

I suspect it may be that:

Package zfs-devel-0.6.2-1.el6.x86_64 is obsoleted by libzfs2-devel-0.6.4.2-1.el6.x86_64 which is already installed

Yes, definitely the zfs-devel and spl-devel headers need to match the installed zfs and spl packages.  You didn't say, but I assume you have spl-devel installed as well?

You can look at the config.log file to see why the configure test failed.

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Intel High Performance Data Division



Does anyone know if this is the case, or have any insight into how to get this built?

Thanks in advance,


Brian Andrus
ITACS/Research Computing
Naval Postgraduate School
Monterey, California
voice: 831-656-6238




More information about the lustre-discuss mailing list