[Rocks-Discuss] Building ZFS Roll

Philip Papadopoulos philip.papadopoulos at gmail.com
Fri Jun 7 09:54:05 PDT 2013


Hmmm...
I'll have to look at this in more detail, but can't today.
feels like something is missing, but not sure what.

-P


On Fri, Jun 7, 2013 at 8:43 AM, Jonathan Poon <jkpoon at ucdavis.edu> wrote:
> Here's the output when I run "make" in the
> /opt/zfs/zfs-linux-roll-source/src/spl directory
>
> make[3]: Entering directory `/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0'
> make  all-recursive
> make[4]: Entering directory `/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0'
> Making all in module
> make[5]: Entering directory
> `/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module'
> make -C /usr/src/kernels/2.6.32-358.6.2.el6.x86_64 SUBDIRS=`pwd`
> CONFIG_SPL=m modules
> make[6]: Entering directory `/usr/src/kernels/2.6.32-358.6.2.el6.x86_64'
>   CC [M]
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-debug.o
>   CC [M]
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-proc.o
>   CC [M]
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-kmem.o
>   CC [M]
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-thread.o
>   CC [M]
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-taskq.o
>   CC [M]
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-rwlock.o
>   CC [M]
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.o
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.c:
> In function 'vn_space':
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.c:655:
> error: 'const struct file_operations' has no member named 'fallocate'
> /tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.c:656:
> error: 'const struct file_operations' has no member named 'fallocate'
> make[8]: ***
> [/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl/../../module/spl/spl-vnode.o]
> Error 1
> make[7]: *** [/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module/spl]
> Error 2
> make[6]: *** [_module_/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module]
> Error 2
> make[6]: Leaving directory `/usr/src/kernels/2.6.32-358.6.2.el6.x86_64'
> make[5]: *** [modules] Error 2
> make[5]: Leaving directory
> `/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0/module'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/tmp/spl-build-root-AMWFM6uf/BUILD/spl-0.6.0'
> error: Bad exit status from /tmp/spl-build-root-AMWFM6uf/TMP/rpm-tmp.o939m2
> (%build)
>
>
> RPM build errors:
>     Bad exit status from /tmp/spl-build-root-AMWFM6uf/TMP/rpm-tmp.o939m2
> (%build)
> make[2]: *** [rpm-common] Error 1
> make[2]: Leaving directory
> `/opt/zfs/zfs-linux-roll-source/src/spl/spl-0.6.0-rc12'
> make[1]: *** [rpm-modules] Error 2
> make[1]: Leaving directory
> `/opt/zfs/zfs-linux-roll-source/src/spl/spl-0.6.0-rc12'
> /bin/cp: cannot stat `*x86_64.rpm': No such file or directory
>
>
> Could it be I'm missing something in the kernel source?
>
>
> On Fri, Jun 7, 2013 at 8:37 AM, Jonathan Poon <jkpoon at ucdavis.edu> wrote:
>
>> Hi Philip,
>>
>> I added installed the roll as part of the frontend installation.  I'm
>> looking to install ZFS on the frontend.
>>
>> Here's the output of "rocks list roll"
>>
>> NAME                VERSION    ARCH   ENABLED
>> ganglia:            6.1        x86_64 yes
>> os:                 6.1        x86_64 yes
>> web-server:         6.1        x86_64 yes
>> service-pack:       6.1        x86_64 yes
>> CentOS:             6.3        x86_64 yes
>> condor:             6.1        x86_64 yes
>> perl:               6.1        x86_64 yes
>> sge:                6.1        x86_64 yes
>> zfs-linux:          0.6.0.rc12 x86_64 yes
>> kernel:             6.1        x86_64 yes
>> Updates-CentOS-6.3: 2012-11-26 x86_64 yes
>> python:             6.1        x86_64 yes
>> area51:             6.1        x86_64 yes
>> java:               6.1        x86_64 yes
>> base:               6.1        x86_64 yes
>> hpc:                6.1        x86_64 yes
>>
>> It shows that the zfs-linux roll is enabled.  How do I make the roll as
>> distributed?
>>
>> Jonathan
>>
>>
>> On Fri, Jun 7, 2013 at 6:57 AM, Philip Papadopoulos <
>> philip.papadopoulos at gmail.com> wrote:
>>
>>> It's in the roll
>>> I'm assuming that you are adding after installation?
>>>
>>> You need to add the roll as distributed
>>> Enable it, create the distro, run the roll.   This puts additional
>>> packages in  place so that build can happen
>>>
>>> then you can make binary-roll., add the roll, rebuild the distro, run the
>>> roll.
>>>
>>> Look at your build output, spl has to be built first. It is almost
>>> certainly attempting that and failing, likely because of a missing
>>> package.
>>>
>>> The roll should be buildable.  I'm working on a new version that has
>>> the released version of ZFS instead of a release candidate.
>>>
>>> -P
>>>
>>>
>>> On Fri, Jun 7, 2013 at 5:44 AM, Ian Kaufman <ikaufman at eng.ucsd.edu>
>>> wrote:
>>> > http://zfsonlinux.org/
>>> >
>>> > Where ZFS on Linux is developed.
>>> >
>>> > Ian
>>> >
>>> > On Fri, Jun 7, 2013 at 1:22 AM, Jonathan Poon <jkpoon at ucdavis.edu>
>>> wrote:
>>> >> Hi Everyone,
>>> >>
>>> >> I'm trying to build the ZFS RPMs.  In /opt/zfs/zfs-binary-roll-source,
>>> I
>>> >> wun make binary-roll, but I get the following error
>>> >>
>>> >> checking spl source directory... Not found
>>> >> configure: error:
>>> >>         *** Please make sure the spl devel package for your
>>> distribution
>>> >>         *** is installed then try again.  If that fails you can
>>> specify the
>>> >>         *** location of the spl source with the '--with-spl=PATH'
>>> option.
>>> >> make[4]: Entering directory
>>> >> `/opt/zfs/zfs-linux-roll-source/src/zfs/zfs-0.6.0-rc12'
>>> >>
>>> >> Any ideas on where I can find the spl devel packages?
>>> >>
>>> >> Thanks!
>>> >> -------------- next part --------------
>>> >> An HTML attachment was scrubbed...
>>> >> URL:
>>> https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20130607/d362f732/attachment.html
>>> >
>>> >
>>> >
>>> > --
>>> > Ian Kaufman
>>> > Research Systems Administrator
>>> > UC San Diego, Jacobs School of Engineering ikaufman AT ucsd DOT edu
>>> >
>>>
>>>
>>>
>>> --
>>> Philip Papadopoulos, PhD
>>> University of California, San Diego
>>> 858-822-3628 (Ofc)
>>> 619-331-2990 (Fax)
>>>
>>
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: https://lists.sdsc.edu/pipermail/npaci-rocks-discussion/attachments/20130607/f3f6d411/attachment.html
>



-- 
Philip Papadopoulos, PhD
University of California, San Diego
858-822-3628 (Ofc)
619-331-2990 (Fax)


More information about the npaci-rocks-discussion mailing list