From owner-freebsd-questions@freebsd.org Tue Sep 25 05:57:17 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 5F55410A6A4E for ; Tue, 25 Sep 2018 05:57:17 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from smh-06.1blu.de (smh-06.1blu.de [178.254.0.206]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0344882D26 for ; Tue, 25 Sep 2018 05:57:16 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [172.16.29.5] (helo=sh4-5.1blu.de) by smh-06.1blu.de with esmtp (Exim 4.86_2) (envelope-from ) id 1g4gLR-0003K6-Q2 for freebsd-questions@freebsd.org; Tue, 25 Sep 2018 07:57:14 +0200 Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.86_2) (envelope-from ) id 1g4gLR-0004Ik-O9 for freebsd-questions@freebsd.org; Tue, 25 Sep 2018 07:57:13 +0200 Date: Tue, 25 Sep 2018 07:57:13 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: using zfs for poudriere Message-ID: <20180925055713.GA13004@sh4-5.1blu.de> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.5.24 (2015-08-30) 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: Tue, 25 Sep 2018 05:57:17 -0000 Hello, I do use for some years a zpool for poudriere(8) ports building. I just created it with: # grep zfs /etc/rc.conf zfs_enable="YES" # zpool create poudriere /dev/da1 # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT poudriere 278G 4.09G 274G - - 13% 1% 1.00x ONLINE - But I have to say, that I really don't know how poudriere makes use of it because I have never worked, a part of this poudriere usage, with ZFS. Can someone pleas explain me *what* do I see with the commands below? For me the mountpoints (when I use 'ls') always look somewhat empty, but when poudriere is running (see below) it creates a lot of things there. And one additional question: Can I store some own data below /poudriere (because I'm running out of space in my UFS /dev/da0 partition) without disturbing poudriere in its work? Thanks in advance for any enlightenments. matthias # mount /dev/da0p2 on / (ufs, local, journaled soft-updates) poudriere on /poudriere (zfs, local, nfsv4acls) poudriere/poudriere on /poudriere/poudriere (zfs, local, nfsv4acls) poudriere/poudriere/jails on /poudriere/poudriere/jails (zfs, local, nfsv4acls) poudriere/poudriere/ports on /poudriere/poudriere/ports (zfs, local, nfsv4acls) poudriere/poudriere/jails/freebsd-r314251 on /usr/local/poudriere/jails/freebsd-r314251 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/jails/freebsd-r338641 on /usr/local/poudriere/jails/freebsd-r338641 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/ports/ports-20170304 on /usr/local/poudriere/ports/ports-20170304 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/ports/ports-20180920 on /usr/local/poudriere/ports/ports-20180920 (zfs, local, noatime, nfsv4acls) # zpool get all pool NAME PROPERTY VALUE SOURCE poudriere size 278G - poudriere capacity 1% - poudriere altroot - default poudriere health ONLINE - poudriere guid 12050338217206172725 default poudriere version - default poudriere bootfs - default poudriere delegation on default poudriere autoreplace off default poudriere cachefile - default poudriere failmode wait default poudriere listsnapshots off default poudriere autoexpand off default poudriere dedupditto 0 default poudriere dedupratio 1.00x - poudriere free 274G - poudriere allocated 4.09G - poudriere readonly off - ... when poudriere(8) is building: # mount | grep zfs poudriere on /poudriere (zfs, local, nfsv4acls) poudriere/poudriere on /poudriere/poudriere (zfs, local, nfsv4acls) poudriere/poudriere/jails on /poudriere/poudriere/jails (zfs, local, nfsv4acls) poudriere/poudriere/ports on /poudriere/poudriere/ports (zfs, local, nfsv4acls) poudriere/poudriere/jails/freebsd-r314251 on /usr/local/poudriere/jails/freebsd-r314251 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/jails/freebsd-r338641 on /usr/local/poudriere/jails/freebsd-r338641 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/ports/ports-20170304 on /usr/local/poudriere/ports/ports-20170304 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/ports/ports-20180920 on /usr/local/poudriere/ports/ports-20180920 (zfs, local, noatime, nfsv4acls) poudriere/poudriere/jails/freebsd-r338641-ports-20180920-ref on /usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/ref (zfs, local, noatime, nfsv4acls) poudriere/poudriere/jails/freebsd-r338641-ports-20180920-ref/01 on /usr/local/poudriere/data/.m/freebsd-r338641-ports-20180920/01 (zfs, local, noatime, nfsv4acls) -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub