ZFS pool is not imported at boot

I have a FreeBSD 14-3-RELEASE VM that I've added a new mirrored pool, created ZFS filesystem and set the mount point. The problem I'm running into is that the pool does not get imported when the VM reboots and the pools filesystem is not mounted.
I did a google search and it was suggested to make sure the zfs.cache was up to date so I tried:

# zpool import -o cachefile=/boot/zfs/zfs.cache homevol

This hasn't helped. My homevol pool is not imported and it's filesystem not mounted after boot. Any ideas on how to fix this?

thanks
John
 
Thanks, that was helpful but the actual cache file is /etc/zfs/zpool.cache. I found that in another post.

This fixed it:

# zpool import -o cachefile=/etc/zfs/zpool.cache homevol


thanks
John
 
Back
Top