ZFS on Linux Help

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
Hey all, I have been failing at something which should be simple. I am trying to get Ubuntu upgraded to ZoL 0.7.1.

Has anyone been successful in this? trying to get QAT testing done this weekend ZFSonLinux QAT acceleration in 0.7.0

Link to instructions that would work are helpful. Thus far my Googlefu has been weak.
 

whitey

Moderator
Jun 30, 2014
2,766
868
113
41
Hey Patrick, I don't have a Ubuntu w/ older ZFS to test w/ but I did have a fresh CentOS 7.4 that ZFS 0.7.2 seemed to easily lay down DKMS style. What Ubuntu version (16.04 LTS if I had to take a guess), maybe I can replicate and install on older ZFS rev/tree and attempt upgrade?

upload_2017-10-7_14-48-20.png
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
Hey Patrick, I don't have a Ubuntu w/ older ZFS to test w/ but I did have a fresh CentOS 7.4 that ZFS 0.7.2 seemed to easily lay down DKMS style. What Ubuntu version (16.04 LTS if I had to take a guess), maybe I can replicate and install on older ZFS rev/tree and attempt upgrade?

View attachment 6770
That is probably the answer, just do CentOS.
 

BLinux

cat lover server enthusiast
Jul 7, 2016
2,669
1,081
113
artofserver.com
This is usually what i do on CentOS 7:

1) install CentOS 7.x
2) update CentOS 7.x to latest (7.4 right now): yum -y update
2.1) (optional) add the epel-release repo package: yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
3) add ZoL yum repo. if you're on 7.3, you have to use the 7.3 specific RPM:

for CentOS 7.4: http://download.zfsonlinux.org/epel/zfs-release.el7_4.noarch.rpm
for CentOS 7.3: http://download.zfsonlinux.org/epel/zfs-release.el7_3.noarch.rpm

yum -y install http://download.zfsonlinux.org/epel/zfs-release.el7_4.noarch.rpm

4) in my experience the dkms stuff can become unstable at times, so i choose to use the kmod packages. to do so, edit /etc/yum.repos.d/zfs.repo and disable [zfs] and enable [zfs-kmod] section.

5) now, install zfs: yum install zfs
6) start setting up ZFS: zpool create ... blah blah...

usually takes less than a minute to get up and going. (I skip #1 most of the time and just clone an image)
 
  • Like
Reactions: Patrick