Skip to main content

ZFS

If you do this, you will break something. DO NOT run production on this SR. If you do, I hope you trust your backups.

Install/enable ZFS on your hosts

On each host that you want to run ZFS:

yum install --enablerepo="xcp-ng-extras" blktap vhd-tool

Install ZFS packages built for XCP-ng: (check version)

yum install --enablerepo="xcp-ng-extras" kmod-spl-4.4.0+10 kmod-zfs-4.4.0+10 spl zfs

Enable the module with

depmod -a && modprobe zfs.

Create a new ZFS pool:

Create the new SR.

Disable sync.

zfs set sync=disabled tank