Solved Trying openzfs on FreeBSD 12.1-RELEASE-p10 , zpool not imported

Alain De Vos

Aspiring Daemon

Reaction score: 168
Messages: 647

Problem : The zpools are not imported automatic on boot.
I have
/boot/loader.conf:
Code:
openzfs_load="YES"


/etc/rc.conf
Code:
openzfs_enable="YES"
kld_list="openzfs"



I solve this by explicit manual import in rc.local:
Code:
zpool import Z2
zfs mount -a
ldconfig -v -m -R /usr/local/lib


Is there a better way ?
Or must I put WITHOUT_ZFS in /etc/src.conf and recompile the kernel ?
 
OP
Alain De Vos

Alain De Vos

Aspiring Daemon

Reaction score: 168
Messages: 647

Cfr same problem.
I guess also "openzfs" on root will not work ?
 
Top