Zheng’s Blog Collect Minds and Creative

Linux zfs configuarion

My helpful screenshot For each pool you want automatically mounted by the zfs daemon execute:

$zpool set cachefile=/etc/zfs/zpool.cache <poolname>

Enable the service so it is automatically started at boot time:

$systemctl enable zfs.target

To manually start the daemon:

$systemctl start zfs.target

Note: If zfs-mount.service fails on boot due to running before the kernel module is loaded, you may have to manually enable the zfs-import-cache.service.

$systemctl enable zfs-import-cache.service