[lustre-discuss] Building lustre with zfs only

Bob Ball ball at umich.edu
Tue Dec 15 12:11:57 PST 2015


You may want to do this on your build machine?

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


bob



On 12/15/2015 2:16 PM, Christopher J. Morrone wrote:
> Is your OS CentOS 6.7 then?  You _might_ be hitting bug LU-7534, but 
> I'm not sure how DKMS behaved under CentOS 6.7.
>
> Do the following directories exist on your system?
>
>    /var/lib/dkms/spl/0.6.4.2/build
>    /var/lib/dkms/zfs/0.6.4.2/build
>
> If not, then you need my patch from LU-7534.
>
> Chris
>
> On 12/15/2015 08:23 AM, Andrus, Brian Contractor wrote:
>> Andreas,
>>
>> I have installed:
>>
>> libzfs2-0.6.4.2-1.el6.x86_64
>> libzfs2-devel-0.6.4.2-1.el6.x86_64
>> spl-0.6.4.2-1.el6.x86_64
>> spl-debuginfo-0.6.4.2-1.el6.x86_64
>> spl-dkms-0.6.4.2-1.el6.noarch
>> zfs-0.6.4.2-1.el6.x86_64
>> zfs-dkms-0.6.4.2-1.el6.noarch
>>
>> 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='/usr/src/zfs-0.6.4.2'
>> ZFS_ENABLED_FALSE=''
>> ZFS_ENABLED_TRUE='#'
>> ZFS_LIBZFS_INCLUDE='-I /usr/src/zfs-0.6.4.2/lib/libspl/include -I 
>> /usr/src/zfs-0.6.4.2/include'
>> ZFS_LIBZFS_LDFLAGS='-lzfs -L/usr/src/zfs-0.6.4.2/lib/libzfs/.libs/'
>> ZFS_OBJ='Not found'
>> ZFS_VERSION='0.6.4.2'
>> .
>> SPL='/usr/src/spl-0.6.4.2/'
>> SPL_OBJ='Not found'
>> SPL_VERSION='0.6.4.2'
>>
>> 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:
>>
>> 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
>>
>>
>> _______________________________________________
>> lustre-discuss mailing list
>> lustre-discuss at lists.lustre.org
>> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>> .
>>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
> http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
>



More information about the lustre-discuss mailing list