Date: Wed, 8 Sep 2021 16:11:50 +0100 From: Arthur Chance <freebsd@qeng-ho.org> To: Doug Denault <doug@safeport.com>, freebsd-questions@FreeBSD.ORG Subject: Re: zfs newbie Message-ID: <ab5ed258-b7f0-8ad4-0287-a4f894336416@qeng-ho.org> In-Reply-To: <alpine.BSF.2.00.2109071816090.65542@bucksport.safeport.com> References: <alpine.BSF.2.00.2109071816090.65542@bucksport.safeport.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/09/2021 23:17, Doug Denault wrote: > > Following the default 12.2 zfs install I got one pool (zroot) and a > dataset for each of the traditional mount points. So zfs list shows: > > NAME USED AVAIL REFER MOUNTPOINT > zroot 279G 6.75T 88K /zroot > zroot/ROOT 1.74G 6.75T 88K none > zroot/ROOT/default 1.74G 6.75T 1.74G / > zroot/tmp 176K 6.75T 176K /tmp > zroot/usr 277G 6.75T 88K /usr > zroot/usr/home 276G 6.75T 276G /usr/home > zroot/usr/ports 88K 6.75T 88K /usr/ports > zroot/usr/src 670M 6.75T 670M /usr/src > zroot/var 47.5M 6.75T 88K /var > zroot/var/audit 88K 6.75T 88K /var/audit > zroot/var/crash 88K 6.75T 88K /var/crash > zroot/var/log 820K 6.75T 820K /var/log > zroot/var/mail 46.3M 6.75T 46.3M /var/mail > zroot/var/tmp 88K 6.75T 88K /var/tmp > > I had consultant configure another server for us. He set up the disk > array with one dataset. so zfs list on this system give: > > NAME USED AVAIL REFER MOUNTPOINT > zroot 2.65G 13.2T 2.62G legacy > > From a sysadmin view I rather like the multiple datasets. Are there > advantages to one over the other? Note the zroot/ROOT/default tree. This lets you use boot environments. If you're not familiar with them take a look at bectl(8) and https://wiki.freebsd.org/BootEnvironments [bectl is a base system command very similar to the earlier beadm port that you may see referenced in old documentation.] -- Nothing teaches one not to try to stamp out burning thermite quite like real-life experience. — James Davis Nicoll
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ab5ed258-b7f0-8ad4-0287-a4f894336416>