using zfs for poudriere

Shane Ambler FreeBSD at ShaneWare.Biz
Fri Sep 28 05:38:14 UTC 2018


On 28/9/18 8:52 am, Doug McIntyre wrote:
> On Wed, Sep 26, 2018 at 09:14:12AM +0200, Matthias Apitz wrote:
>> and all seems to be fine. One more question: while normal UFS
>> filesystem mounts are done (and stored between boots) in fstab(4), where
>> is the ZFS mount configuration stored?
> 
> ZFS mount configuration is stored in ZFS metadata.
> 
> $ zfs get mountpoint users/mail
> NAME        PROPERTY    VALUE       SOURCE
> users/mail  mountpoint  /var/mail   local

When you import the pool, all zfs filesystems should mount,
not exporting a pool before a restart should reimport it during boot.

I believe the pools to mount at boot are stored in /boot/zfs/zpool.cache

You can also manually mount/unmount all

zfs mount -a
zfs unmount -a

or specific fs

zfs mount zpool/mydata


-- 
FreeBSD - the place to B...Storing Data

Shane Ambler



More information about the freebsd-questions mailing list