Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2018 15:08:00 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        freebsd-questions@freebsd.org
Subject:   Re: using zfs for poudriere
Message-ID:  <7442eaf5-c4d5-dcd4-4c34-3610bdcb7d70@ShaneWare.Biz>
In-Reply-To: <20180927232237.GA13543@geeks.org>
References:  <20180925055713.GA13004@sh4-5.1blu.de> <edba5825-f78f-4d7e-6d87-8cfe408190d0@ShaneWare.Biz> <20180926071412.GA16187@sh4-5.1blu.de> <20180927232237.GA13543@geeks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7442eaf5-c4d5-dcd4-4c34-3610bdcb7d70>