Solved Poudriere - trying to understand zfs options

Have a non ZFS machine working with Poudriere and now moving to a better machine with more CPUs and RAM so want to use ZFS on this new setup.

In the poudriere.conf there are

#ZPOOL=tank
#ZROOTFS=/poudriere
#BASEFS=/usr/local/poudriere

My pool is zroot so I have
Bash:
ZPOOL=zroot
NO_ZFS=no
ZROOTFS=/poudriere
BASEFS=/usr/local/poudriere

When using ZFS does one need to create a mount point for /poudriere? Or will poudriere build what it needs?

From this description
# root of the poudriere zfs filesystem, by default /poudriere
ZROOTFS=/poudriere

Was expecting poudriere would create a volume in zpool for /poudriere, but don't see it after creating a ports tree

NAME USED AVAIL REFER MOUNTPOINT
zroot 7.25G 423G 88K /zroot
zroot/ROOT 7.24G 423G 88K none
zroot/ROOT/default 7.24G 12.3G 7.24G /
zroot/home 160K 423G 160K /home
 
Poudriere will create all the mount points if you have these two options set properly in poudriere.conf:
Code:
ZPOOL=zroot
ZROOTFS=/poudriere
# and of course, make sure the following is commented out:
#NO_ZFS=yes
On my desktop machine, I have a ZFS volume that is only used for Poudriere, and I have started from scratch a few times so I am pretty sure the above works fine.
 
BASEFS is not commented in the sample poudriere.conf file, I left it as is.

I did run for a while without ZFS, but it's much faster with ZFS. I did have to shuffle some stuff around on my hard drive to get a clear partition to use for ZFS.
 
After a little trial an error found that the issue is that
NO_ZFS=no

Doesn't work. Changing it back to the commented state
#NO_ZFS=yes

Did the trick. Also, don't need to create the dataset it takes care of it.

Thanks all for the hints and tips.
 
Back
Top