[lustre-discuss] Building lustre with zfs only

Andrus, Brian Contractor bdandrus at nps.edu
Tue Dec 15 08:23:20 PST 2015


I have installed:


These are from the CentOS 6.7 repos.

When I look in the config log, all there is that mentions zfs or spl is what I posted earlier.
Following that, there is a section that shows the variables:
ZFS_LIBZFS_INCLUDE='-I /usr/src/zfs- -I /usr/src/zfs-'
ZFS_LIBZFS_LDFLAGS='-lzfs -L/usr/src/zfs-'
ZFS_OBJ='Not found'
SPL_OBJ='Not found'

My best guess is that I need the ZFS/SPL Object files. Not sure which those would be, specifically, since I have the source and the headers.

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

-----Original Message-----
From: Dilger, Andreas [mailto:andreas.dilger at intel.com] 
Sent: Monday, December 14, 2015 11:37 PM
To: Andrus, Brian Contractor
Cc: lustre-discuss at lists.lustre.org
Subject: Re: [lustre-discuss] Building lustre with zfs only

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:


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- -I /usr/src/zfs-
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- 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