Date: Tue, 25 Sep 2018 07:57:13 +0200 From: Matthias Apitz <guru@unixarea.de> To: freebsd-questions@freebsd.org Subject: using zfs for poudriere Message-ID: <20180925055713.GA13004@sh4-5.1blu.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180925055713.GA13004>