Date: Wed, 26 Sep 2018 09:14:12 +0200 From: Matthias Apitz <guru@unixarea.de> To: freebsd-questions@freebsd.org Subject: Re: using zfs for poudriere Message-ID: <20180926071412.GA16187@sh4-5.1blu.de> In-Reply-To: <edba5825-f78f-4d7e-6d87-8cfe408190d0@ShaneWare.Biz> References: <20180925055713.GA13004@sh4-5.1blu.de> <edba5825-f78f-4d7e-6d87-8cfe408190d0@ShaneWare.Biz>
next in thread | previous in thread | raw e-mail | index | archive | help
El día Wednesday, September 26, 2018 a las 11:59:16AM +0930, Shane Ambler escribió: > ... > > Yes you can use the space in your pool, I would say most people run > poudriere on the same pool that runs their whole system. > > Create a new zfs to hold your data, set the mountpoint to where you want > it. > > zfs create -o mountpoint=/home/me/zdata poudriere/mydata > > if you then zfs create poudriere/mydata/videos > it will mount as /home/me/zdata/videos unless you specify a new > mountpoint. Thanks for the information, Shane. I did: # zfs create -o mountpoint=/usr/home/guru/zdata poudriere/mydata # zfs create poudriere/mydata/r338641 # touch /home/guru/zdata/r338641/testfile # find /home/guru/zdata/ /home/guru/zdata/ /home/guru/zdata/r338641 /home/guru/zdata/r338641/testfile # mount ... poudriere/mydata on /usr/home/guru/zdata (zfs, local, nfsv4acls) poudriere/mydata/r338641 on /usr/home/guru/zdata/r338641 (zfs, local, nfsv4acls) $ ls -l /usr/home/guru/zdata/r338641 total 12994340 drwxr-xr-x 2 root wheel 2053 Sep 25 07:04 PKGDIR.20180920 -rw-r--r-- 1 root wheel 8590762496 Sep 24 16:50 memstick.img -r--r--r-- 1 root wheel 5806694495 Sep 24 22:47 r338641.tgz -rw-r--r-- 1 root wheel 0 Sep 26 07:24 testfile $ du -sh /usr/home/guru/zdata/r338641/* 7.0G /usr/home/guru/zdata/r338641/PKGDIR.20180920 7.4G /usr/home/guru/zdata/r338641/memstick.img 5.4G /usr/home/guru/zdata/r338641/r338641.tgz 512B /usr/home/guru/zdata/r338641/testfile ... 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? matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ 📱 +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub 13. August 2018: Manchmal möchte ich nun einen AUSREISEANTRAG stellen. August 13, 2018: Sometimes I'd like to ask for an exit permission now.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180926071412.GA16187>