1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ZFS on Linux Help

Discussion in 'Linux Admins, Storage and Virtualization' started by Patrick, Oct 6, 2017.

  1. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    10,044
    Likes Received:
    3,315
    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.
     
    #1
  2. whitey

    whitey Moderator

    Joined:
    Jun 30, 2014
    Messages:
    2,366
    Likes Received:
    730
    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
     
    #2
  3. Patrick

    Patrick Administrator
    Staff Member

    Joined:
    Dec 21, 2010
    Messages:
    10,044
    Likes Received:
    3,315
    That is probably the answer, just do CentOS.
     
    #3
  4. BLinux

    BLinux Active Member

    Joined:
    Jul 7, 2016
    Messages:
    756
    Likes Received:
    157
    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)
     
    #4
    Patrick likes this.
Similar Threads: Linux Help
Forum Title Date
Linux Admins, Storage and Virtualization Need some more Linux/NextCloud help :( May 10, 2017
Linux Admins, Storage and Virtualization Need some more help from a Linux Guru Aug 13, 2016
Linux Admins, Storage and Virtualization Need some help from a Linux Guru Jul 24, 2016
Linux Admins, Storage and Virtualization [SOLVED]how to flash a linux distro on a PC fast and easy? Oct 2, 2017
Linux Admins, Storage and Virtualization ZFSonLinux QAT acceleration in 0.7.0 Sep 15, 2017

Share This Page