The full form of ZFS is Zettabyte File System. The ZFS filesystem is a 128-bit filesystem. The ZFS supported filesystem size is 3×10(to the poer 24) TB. You may never encounter such a big filesystem in real life. The ZFS filesystem was designed to keep and access an insane amount of data.
Enabling Debian contrib Package Repository:
The ZFS filesystem packages are available in the official Debian 11 contrib package repository. The contrib package repository is not enabled on Debian 11 by default. But you can easily enable it from the command-line.
To enable the contrib package repository, open a Terminal and run the following command:
$ sudo apt-add-repository contrib
The official Debian contrib repository should be enabled.
$ sudo apt-get update
Installing ZFS Filesystem Dependencies:
You must install the libraries that the ZFS filesystem kernel module depends on before installing the ZFS filesystem on Debian 11. Continue reading “Install and Setup ZFS on Debian 11” »
Installing ZFS File System
ZFS File System support is not enabled by default on CentOS 7. That is not the only problem. ZFS is not available in the official package repository of CentOS 7. You have to install it from the official package repository of ZFS. I am installing this on a server running Centos 7.6. You may take a look at https://github.com/zfsonlinux/zfs/wiki/RHEL-and-CentOS for more details.
First check what version of CentOS 7 you’re using with the following command:
$ cat /etc/redhat-release
As you can see, I am using Centos 7.6
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
Now you have to add the official repository of ZFS on CentOS 7 with the following command:
yum install http://download.zfsonlinux.org/epel/zfs-release.el7_6.noarch.rpm
ZFS repository should be added.
There are two ways ZFS module can be loaded to the kernel, DKMS and kABI. The difference between these is that if you install DKMS based ZFS module, and then for some reason you update the kernel of your operating system, the ZFS kernel module must be recompiled again. Otherwise it won’t work. But the kABI based ZFS module has the upper hand in that it doesn’t require recompilation if the kernel of the operating system is updated. Continue reading “Install ZFS on CentOS 7” »