August 01, 2012 Archives

01-08-2012 17:37

ZFS on OpenSuSe 12.1

If anyone has tried building ZFS on Linux on Suse you will know that you end up at a deadend. Well at least I did. I then had the idea of searching on the OpenSuSe Build service. I found this page: http://software.opensuse.org/download?project=home:munix9:zfs&package=zfs-modules. I went with the manual approach. The commands were:

zypper addrepo http://download.opensuse.org/repositories/home:munix9:zfs/openSUSE_12.1/home:munix9:zfs.repo
zypper refresh
zypper install zfs-modules

But these commands are incorrect. What you actually need to do is:

zypper addrepo http://download.opensuse.org/repositories/home:munix9:zfs/openSUSE_12.1/home:munix9:zfs.repo
zypper refresh
zypper source-install zfs-modules
cd /usr/src/packages/SPECS/
rpmbuild -bb zfs-modules.spec
zypper in ../RPMS/x86_64/zfs-*
modprobe zfs

Initially on a file copy test I was getting 5MB/s. But ever since then all testing is proving adequate performance, about 50MB/s with some bursting up to 90MB/s. Tried working with some video files and although not like ext4, not far behind. The building of the RPM's from the spec files will probably be needed ever kernel update, by hand. Oh well, still a very happy boy.


Posted by DaveQB | Permanent Link | Categories: IT