zfs newbie

David Christensen dpchrist at holgerdanske.com
Wed Sep 15 18:29:07 UTC 2021

On 9/14/21 3:42 PM, DTD wrote:
> On Tue, 14 Sep 2021, Dan Langille wrote:

>> What do you see from zpool status? I'm wondering if this is not 
>> directly on hardware, such as a VM under VMware.
> Nop, no VM. I have three system that I did a take all options zfs 
> install on. I do not remember which one I posted so here is a matching set:
>> freebsd-version
> 12.1-RELEASE-p8
>> zfs list
> zroot               90.6G   801G    88K  /zroot
> zroot/ROOT          89.9G   801G    88K  none
> zroot/ROOT/default  89.9G   801G  89.9G  /
> zroot/tmp            156K   801G   156K  /tmp
> zroot/usr            723M   801G    88K  /usr
> zroot/usr/home      18.7M   801G  18.7M  /usr/home
> zroot/usr/ports       88K   801G    88K  /usr/ports
> zroot/usr/src        704M   801G   704M  /usr/src
> zroot/var           21.7M   801G    88K  /var
> zroot/var/audit       88K   801G    88K  /var/audit
> zroot/var/crash       88K   801G    88K  /var/crash
> zroot/var/log       21.3M   801G  21.3M  /var/log
> zroot/var/mail        88K   801G    88K  /var/mail
> zroot/var/tmp         88K   801G    88K  /var/tmp
>> zpool status
>    pool: zroot
>   state: ONLINE
>    scan: none requested
> config:
>          NAME        STATE     READ WRITE CKSUM
>          zroot       ONLINE       0     0     0
>            mirror-0  ONLINE       0     0     0
>              ada0p3  ONLINE       0     0     0
>              ada1p3  ONLINE       0     0     0
> errors: No known data errors

You would not have to remember what host and what command you issued if 
you put useful information (date, time, username, hostname, present 
working directory) into your shell prompt and posted complete console 
stanzas -- prompt, command issued, and output obtained:

2021-09-15 11:12:46 dpchrist at f3 ~
$ freebsd-version ; uname -a ; echo "SHELL=$SHELL"; echo "PS1=$PS1"
FreeBSD f3.tracy.holgerdanske.com 12.2-RELEASE-p7 FreeBSD 
12.2-RELEASE-p7 GENERIC  amd64
PS1=\n\D{%Y-%m-%d %H:%M:%S} dpchrist@\h \w\n\$

(Looking at the value of PS1, it is curious that I hard-coded the 
username as 'dpchrist' rather than using a '\u' special character.  I 
have been using the same PS1 on multiple platforms and with multiple 
Bourne-like shells for many years; one of them must have been lacking 
this feature.)

Looking at the console output for your third computer, above, my 
previous comment regarding small OS devices also applies to this computer.

I never saw a response to my question regarding backups (?).


More information about the freebsd-questions mailing list