Solved no pools available to import message on boot

Hi. I'm having "no pools available to import" message on boot. Why is this happening? I am using 14.0-R.
Untitled.jpg
 
If everything is working fine except for the message, possibly, root pool (woukd be zroot by default) is already imported by loader and passed to kernel sanely, and NO OTHER POOL TO BE IMPORTED is available for rc.d scripts.
If this is true, would be no harm. Just annoying.
 
I get this message since... I can't remember. And all people using ZFS have this.

It just says that there is no pool to import. It's like when you have an error if you have an empty CDROM: "cd0: Attempt to query device size failed: NOT READY, Medium not present".

Be cool man.
 
its from /etc/rc.d/zpool which is triggered by zfs_enable="YES"

+ eval ' zpool_start '
+ zpool_start
+ local cachefile
+ [ -r /etc/zfs/zpool.cache ]
+ zpool import -c /etc/zfs/zpool.cache -a -N
no pools available to import

+ [ 0 -ne 0 ]
+ break
+ _return=0
+ umask 0022
+ [ 0 -ne 0 ]
+ return 0
 
I guess that the zfs rc(8) service is in search for pools to mount, if there is just a one pool on the system, i think you'll get this message. I do have another pool besides zroot, the message doesn't occur anymore.

So I am wondering, if this is so, could I disable the rc service? What it actually does?
 
Back
Top