zfs newbie
Arthur Chance
freebsd at qeng-ho.org
Wed Sep 8 15:12:00 UTC 2021
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
More information about the freebsd-questions
mailing list