Today I installed zfs on debian. The installation was straight forward but later I had some problems with my pool. After every single reboot, I had to import the zfspool manually(“zpool import -a”). I searched the internet for a proper solution, but I just found something like: “use ZFS_MOUNT=yes in /etc/default/zfs”. Even with this option it just doesn’t automatically import my pools.
I solved this with the following entry in /etc/default/zfs:
USE_DISK_BY_ID='no'
This entry enables the use of the pool-cache instead of disk-id’s.