Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Fedora20: release SPL/ZFS 0.6.3 so it compiles there #322

Closed
TvdW opened this issue Dec 27, 2013 · 7 comments
Closed

Fedora20: release SPL/ZFS 0.6.3 so it compiles there #322

TvdW opened this issue Dec 27, 2013 · 7 comments
Milestone

Comments

@TvdW
Copy link

TvdW commented Dec 27, 2013

SPL 0.6.2 (and possibly ZFS) has no support for kernel 3.12 or 3.13. Fedora 20 uses 3.12, so SPL and ZFS aren't going to work on this OS version.

Relevant pull requests that patched support in the product :
#307
#312

Please release 0.6.3 that contains these patches.

@stewartadam
Copy link

Support for Fedora 20 is already in git - I was able to successfully create a zpool on my Fedora 20 installation after compiling new RPMs for SPL and ZFS from git. I've written some instructions on doing so here: http://www.firewing1.com/node/633

@behlendorf
Copy link
Contributor

As mentioned by @firewing1 support for Fedora 20 is already in git. If you must use Fedora 20 either use the version from git or back rev your kernel. We'll release 0.6.3 when it's ready.

@deeepdish
Copy link

@firewing1

I'm not a developer but know enough to be dangerous. I'm trying to build ZOL on F20. Following your instructions but getting stuck:

# git clone https://github.com/zfsonlinux/zfs.git
(downloads)

# git clone https://github.com/zfsonlinux/spl.git
(downloads)

# pushd spl
~/spl ~
# make rpm-utils rpm-dkms
make: *** No rule to make target `rpm-utils'.  Stop.
# pwd
/root/spl
#

Thank you.

@stewartadam
Copy link

Sorry, I forgot a command in there - need to run ./autogen.sh before make. Also, please don't run this as root! You can build RPMs as your regular user provided you have the rpmdevtools package installed.

@deeepdish
Copy link

This is what worked for me:

# yum groupinstall "Development Tools"
# yum install kernel-devel zlib-devel libuuid-devel libblkid-devel libselinux-devel parted lsscsi wget yash rpmdevtools autoreconf automake libtool
# git clone https://github.com/zfsonlinux/zfs.git
# git clone https://github.com/zfsonlinux/spl.git
# pushd spl
# ./autogen.sh 
# ./configure
# make rpm-utils rpm-dkms kmod-rpm
# popd
# pushd zfs
# ./autogen.sh
# ./configure
# make rpm-utils rpm-dkms kmod-rpm
# popd

# yum localinstall spl/spl-0.6.2-23_g4c99541.fc20.x86_64 spl/kmod-spl-3.12.8-300.fc20.x86_64-0.6.2-23_g4c99541.fc20.x86_64 spl/kmod-spl-devel-0.6.2-23_g4c99541.fc20.x86_64 spl/spl-dkms-0.6.2-23_g4c99541.fc20.noarch spl/kmod-spl-devel-3.12.8-300.fc20.x86_64-0.6.2-23_g4c99541.fc20.x86_64
# yum localinstall zfs/zfs-dkms-0.6.2-162_g3566d5c.fc20.noarch zfs/kmod-zfs-devel-3.12.8-300.fc20.x86_64-0.6.2-162_g3566d5c.fc20.x86_64 zfs/zfs-0.6.2-162_g3566d5c.fc20.x86_64 zfs/zfs-devel-0.6.2-162_g3566d5c.fc20.x86_64 zfs/kmod-zfs-devel-0.6.2-162_g3566d5c.fc20.x86_64 zfs/zfs-dracut-0.6.2-162_g3566d5c.fc20.x86_64 zfs/kmod-zfs-3.12.8-300.fc20.x86_64-0.6.2-162_g3566d5c.fc20.x86_64

# systemctl enable zfs
# systemctl start ifs

(reboot just in case :) ) 

Thanks for your help.

@twagler
Copy link

twagler commented Mar 23, 2014

I got
make: *** No rule to make target 'kmod.rpm'. Stop.

when trying what @deeepdish wrote.

@dadinn
Copy link

dadinn commented May 10, 2014

Because the make target is called rpm-kmod instead of kmod-rpm. Even better, instead of make rpm-utils rpm-dkms rpm-kmod, simply use make rpms.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants