From owner-freebsd-questions@freebsd.org Fri Sep 28 05:38:14 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 893CC10A556C for ; Fri, 28 Sep 2018 05:38:14 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id BF31A85FBD for ; Fri, 28 Sep 2018 05:38:13 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.106.138]) by ipmail07.adl2.internode.on.net with ESMTP; 28 Sep 2018 15:08:05 +0930 Subject: Re: using zfs for poudriere To: freebsd-questions@freebsd.org References: <20180925055713.GA13004@sh4-5.1blu.de> <20180926071412.GA16187@sh4-5.1blu.de> <20180927232237.GA13543@geeks.org> From: Shane Ambler Message-ID: <7442eaf5-c4d5-dcd4-4c34-3610bdcb7d70@ShaneWare.Biz> Date: Fri, 28 Sep 2018 15:08:00 +0930 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180927232237.GA13543@geeks.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2018 05:38:14 -0000 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