ZFS. Linux. Almalinux 8. ZFS installation
Перейти к навигации
Перейти к поиску
Links
https://openzfs.github.io/openzfs-docs/Getting%20Started/RHEL-based%20distro/index.html
Installation
dnf update -y
dnf install -y https://zfsonlinux.org/epel/zfs-release-2-2$(rpm --eval "%{dist}").noarch.rpm
dnf install -y epel-release
dnf install -y kernel-devel
dnf install -y zfs
Load module once
/sbin/modprobe zfs
Load module at startup
echo "zfs" >> /etc/modules-load.d/zfs.conf
reboot
It might be necessary to rebuild the ZFS modules:
for directory in /lib/modules/*; do kernel_version=$(basename $directory) dkms autoinstall -k $kernel_version done
Using
Creating pool (Stripe) example
You don't have to create GPT-partition (like at FreeBSD)
zpool create -m /mnt/d1 d1 /dev/sdb