ZFS on Centos 8 / RHEL 8 [minihowto]

Issues related to applications and software problems and general support
Post Reply
User avatar
Hix
Posts: 20
Joined: 2019/09/10 14:09:25
Location: Prague, CZ

ZFS on Centos 8 / RHEL 8 [minihowto]

Post by Hix » 2019/09/26 06:32:15

looks like there is anything yet... BUT there is a ZFSonLinux release for Fedora 28....

http://download.zfsonlinux.org/fedora/z ... noarch.rpm
Last edited by Hix on 2019/09/26 07:14:10, edited 1 time in total.
...after 20 years on BSD, we're switching to RHEL/CentOS...

User avatar
Hix
Posts: 20
Joined: 2019/09/10 14:09:25
Location: Prague, CZ

Re: ZFS on Centos 8 / RHEL 8

Post by Hix » 2019/09/26 07:12:28

hey ... it looks like its working! :) I've used ZFSonLinux for Fedora 28 (DKMS)... compilation went smooth... I see the datasets. More testing to come.

minihowto for the impatient:

Code: Select all

centos8:~# dnf install http://download.zfsonlinux.org/fedora/zfs-release.fc28.noarch.rpm
centos8:~# sed -i "s/\$releasever/28/g" /etc/yum.repos.d/zfs.repo
centos8:~# dnf install kernel-devel zfs
centos8:~# reboot

centos8:~# zpool create zssd /dev/vdb
centos8:~# zfs list
NAME   USED  AVAIL     REFER  MOUNTPOINT
zssd   378K   123G       24K  /zssd

centos8:~# dnf list installed | grep zfs
libnvpair1.x86_64                                0.8.1-1.fc28                                           @zfs
libuutil1.x86_64                                 0.8.1-1.fc28                                           @zfs
libzfs2.x86_64                                   0.8.1-1.fc28                                           @zfs
libzpool2.x86_64                                 0.8.1-1.fc28                                           @zfs
zfs.x86_64                                       0.8.1-1.fc28                                           @zfs
zfs-dkms.noarch                                  0.8.1-1.fc28                                           @zfs
zfs-release.noarch                               1-5.fc28                                               @@commandline
...after 20 years on BSD, we're switching to RHEL/CentOS...

User avatar
JanusAlpha
Posts: 7
Joined: 2019/05/23 19:57:17

Re: ZFS on Centos 8 / RHEL 8 [minihowto]

Post by JanusAlpha » 2019/09/26 20:54:09

Exactly what I'm waiting for. Any idea when they'll formally support RHEL 8?

In my search I also found this: https://www.phoronix.com/scan.php?page= ... .0-Problem

A bit concerning. I just switched from FreeBSD to CentOS 8 so trying to understand what kind of ZFS support I can get on the platform...

User avatar
Hix
Posts: 20
Joined: 2019/09/10 14:09:25
Location: Prague, CZ

Re: ZFS on Centos 8 / RHEL 8 [minihowto]

Post by Hix » 2019/09/27 05:26:06

JanusAlpha wrote:
2019/09/26 20:54:09
A bit concerning. I just switched from FreeBSD to CentOS 8 so trying to understand what kind of ZFS support I can get on the platform...
I truly like the ZFSONLINUX implementation. Unlike FreeBSD, it can handle LONG dataset/volume names (supercool) and in its last version (0.8.x) you can remove devices in ZPOOLs(!).

Also, they have (finally) implemented the TRIM.

see: https://github.com/zfsonlinux/zfs/relea ... /zfs-0.8.0

ad. your link.. it does not apply to RHEL8/CentOS8, because it affects the 5.x (eg. newer) kernels only.
...after 20 years on BSD, we're switching to RHEL/CentOS...

User avatar
JanusAlpha
Posts: 7
Joined: 2019/05/23 19:57:17

Re: ZFS on Centos 8 / RHEL 8 [minihowto]

Post by JanusAlpha » 2019/09/27 08:33:07

Forgive my ignorance but doesn't RHEL kernel evolve over time? I.e. over its lifespan will it not progress to 5.x? :)

hunter86_bg
Posts: 1929
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: ZFS on Centos 8 / RHEL 8 [minihowto]

Post by hunter86_bg » 2019/09/27 20:05:24

Nope.
If it starts in 8.0 with version X , it will stay version X till it dies (only minor version changes)
This provides safety that your hardware + software will be OK untill EOL of the OS.

nouvo09
Posts: 146
Joined: 2009/09/19 19:21:36
Location: Paris, France

Re: ZFS on Centos 8 / RHEL 8 [minihowto]

Post by nouvo09 » 2019/09/29 10:24:47

Unless you enable the "CR" repository, but it is a little bit risky in production.

For example I have a normal Centos7 machine in production with a standard 3.xx kernel

and on my personnal laptop, I enabled CR repository which gave me the possibiliy to switch to kernel 4.xx
Member of centos-FR forum

Post Reply

Return to “CentOS 8 - General Support”