I have built a 14.2-RELEASE system that boots from a UFS filesystem on an SSD, but also has four other hard disks attached containing a ZFS raidz pool.
I have the required variables set in the right files to start ZFS on boot:
However, after booting, the raidz pool hasn't imported and the datasets aren't mounted. I can manually run a
I found this comment on an earlier thread stating that a new /etc/rc.d/zpool script was added to resolve this, but it doesn't seem to be working for me. I wondered if the cachefile property on the pool being set to its default value of '-' might be the issue, so I tried changing it to
Can anyone advise how I can fix this, besides adding a
I have the required variables set in the right files to start ZFS on boot:
Code:
# grep zfs /boot/loader.conf /etc/rc.conf
/boot/loader.conf:zfs_load="YES"
/etc/rc.conf:zfs_enable="YES"
However, after booting, the raidz pool hasn't imported and the datasets aren't mounted. I can manually run a
zpool import
and everything then works fine.I found this comment on an earlier thread stating that a new /etc/rc.d/zpool script was added to resolve this, but it doesn't seem to be working for me. I wondered if the cachefile property on the pool being set to its default value of '-' might be the issue, so I tried changing it to
cachefile=/etc/zfs/zpool.cache
but it made no difference on the next boot and reverted to '-'.Can anyone advise how I can fix this, besides adding a
zpool import
command to /etc/rc.local?