Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2021 11:28:53 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: zfs newbie
Message-ID:  <b76b3c9d-2743-eafc-44f4-8f8173ea2d12@holgerdanske.com>
In-Reply-To: <alpine.BSF.2.00.2109141838150.65923@bucksport.safeport.com>
References:  <alpine.BSF.2.00.2109071736520.87853@bucksport.safeport.com> <2b3bd0c8-204d-2f9b-2d63-cca853f5893c@langille.org> <alpine.BSF.2.00.2109141838150.65923@bucksport.safeport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> NAME                 USED  AVAIL  REFER  MOUNTPOINT
> 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@f3 ~
$ freebsd-version ; uname -a ; echo "SHELL=$SHELL"; echo "PS1=$PS1"
12.2-RELEASE-p10
FreeBSD f3.tracy.holgerdanske.com 12.2-RELEASE-p7 FreeBSD 
12.2-RELEASE-p7 GENERIC  amd64
SHELL=/usr/local/bin/bash
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 (?).


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b76b3c9d-2743-eafc-44f4-8f8173ea2d12>