zfs

zfsonlinux 이슈 목록을 보다가 zfs 커널 모듈 바이너리를 제공하는 걸 발견했다. [1]

보통 DKMS로 자동 컴파일 하는 형태로만 제공하고 문서에도 없는 내용이라 올려본다. (실사용 안해봄)

배포 주기는 소스 릴리즈 보다 살짝 늦는 것 같다.

주의사항:

ZFS still uses a few more symbols than exist in the stable kABI so it’s possible things might break if one of those change. This is the main reason I didn’t mention the KMOD repository before. [1]

zfs-release를 설치하지 않았다면 먼저 설치한다.

# yum localinstall --nogpgcheck http://archive.zfsonlinux.org/epel/zfs-release.el7.noarch.rpm

/etc/yum.repos.d/zfs-kmod.repo:

[zfs-kmod] name=ZFS on Linux for EL $releasever (KMOD) baseurl=http://archive.zfsonlinux.org/epel/$releasever/kmod/$basearch/ enabled=0 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-zfsonlinux

패키지 설치:

# yum install --enablerepo=zfs-kmod kmod-zfs

테스트:

# modprobe zfs
# zpool status

References:

  1. https://github.com/zfsonlinux/zfs/issues/3801#issuecomment-142444518

blog comments powered by Disqus