ZFS. Linux. Almalinux 8. ZFS installation
Версия от 11:17, 5 апреля 2023; Cless (обсуждение | вклад) (Новая страница: «= Links = https://openzfs.github.io/openzfs-docs/Getting%20Started/RHEL-based%20distro/index.html = Installation = <code>dnf update -y</code> <code>dnf install...»)
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