pfSense 2.7.2 won't load the other zpool.
-
@stephenw10 said in pfSense 2.7.2 won't load the other zpool.:
What exactly are you trying to do here?
You have added a second ZFS pool and need to have that mounted at boot?
Right.
What are you using that for?
It will store some crucial log data.
Any suggestions?
-
As long as the pool was imported I'd expect it to be present after boot.
It should be in the zpool.cache file try checking:
zdb -CU /boot/zfs/zpool.cache
-
@stephenw10
It is zpool.cache file, but it is not loaded, that is until I issue:service zfs start
Something does not make sense here. Appending zfs_enable="YES" to /etc/rc.conf.local does not help either.
Something is not right.
-
pfSense does not use the BSD rc system so adding it there does nothing.
Does it load if you run that manually after boot?
https://docs.netgate.com/pfsense/en/latest/development/boot-commands.html
-
Does it load if you run that manually after boot?
Yes.
FYI, the shellcmd option works, earlyshellcmd does not.
-
Any idea, anyone?
Is this a bug or what?
-
The fact it cannot be run as an early shellcmd? That's not necessarily a bug.
-
@stephenw10
No, the fact that it won't load automatically despite the fact that it is included in zfs.cache... -
Replicated that. Digging..
-
@stephenw10
Any developments? Can you confirm this as a bug? -
Well, I can confirm it does happen but I would classify it as a missing feature since pfSense is not expected to see multiple ZFS pools.
https://redmine.pfsense.org/issues/15114
One of our devs is looking at it.
-
@stephenw10
Thank you very much.Is there another, safer and more elegant way of loading the second pool other than the shellcmd option?
-
None that I'm aware of currently.