Date: Tue, 14 Sep 2021 18:44:47 -0400 (EDT) From: Doug Denault <doug@safeport.com> To: freebsd-questions@FreeBSD.ORG Subject: Re: zfs newbie (fwd) Message-ID: <alpine.BSF.2.00.2109141842530.54046@bucksport.safeport.com>
next in thread | raw e-mail | index | archive | help
crud -sent from wrong user again; there may be 2 of these
---------- Forwarded message ----------
Date: Tue, 14 Sep 2021 18:42:26 -0400 (EDT)
From: DTD <support@safeport.com>
To: Dan Langille <dan@langille.org>
Cc: freebsd-questions@FreeBSD.ORG
Subject: Re: zfs newbie
On Tue, 14 Sep 2021, Dan Langille wrote:
> DTD wrote on 9/7/21 5:51 PM:
>> 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 service 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?
>
> I see no advantages to me in the single dataset.
>
> 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
_____
Douglas Denault
http://www.safeport.com
support@safeport.com
Voice: 301-217-9220
Fax: 301-217-9277
From owner-freebsd-questions@freebsd.org Tue Sep 14 23:48:37 2021
Return-Path: <owner-freebsd-questions@freebsd.org>
Delivered-To: freebsd-questions@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7C01A673588
for <freebsd-questions@mailman.nyi.freebsd.org>;
Tue, 14 Sep 2021 23:48:37 +0000 (UTC)
(envelope-from list_freebsd@bluerosetech.com)
Received: from echo.brtsvcs.net (echo.brtsvcs.net [208.111.40.118])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
(Client did not present a certificate)
by mx1.freebsd.org (Postfix) with ESMTPS id 4H8Kmh2C0Zz4p97;
Tue, 14 Sep 2021 23:48:36 +0000 (UTC)
(envelope-from list_freebsd@bluerosetech.com)
Received: from chombo.houseloki.net (65-100-43-2.dia.static.qwest.net
[65.100.43.2])
by echo.brtsvcs.net (Postfix) with ESMTPS id A701938D84;
Tue, 14 Sep 2021 23:48:28 +0000 (UTC)
Received: from [IPv6:2602:41:642b:630:34ed:5817:b480:556d] (unknown
[IPv6:2602:41:642b:630:34ed:5817:b480:556d])
by chombo.houseloki.net (Postfix) with ESMTPSA id F2011E1B;
Tue, 14 Sep 2021 16:48:26 -0700 (PDT)
To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org
From: Mel Pilgrim <list_freebsd@bluerosetech.com>
Subject: Clarification on MOVED entries when flavouring a port
Message-ID: <48ff904a-aad1-6440-f319-ce3e38fcc250@bluerosetech.com>
Date: Tue, 14 Sep 2021 16:48:27 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 4H8Kmh2C0Zz4p97
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
spf=pass (mx1.freebsd.org: domain of list_freebsd@bluerosetech.com designates
208.111.40.118 as permitted sender)
smtp.mailfrom=list_freebsd@bluerosetech.com
X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[];
FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
R_SPF_ALLOW(-0.20)[+mx:relay3.brtsvcs.net];
MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[];
DMARC_NA(0.00)[bluerosetech.com];
NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3];
NEURAL_HAM_MEDIUM(-1.00)[-1.000];
NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2];
FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[];
MIME_TRACE(0.00)[0:+];
ASN(0.00)[asn:36236, ipnet:208.111.40.0/24, country:US];
RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>,
<mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>,
<mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Sep 2021 23:48:37 -0000
I'm flavouring a port. The pkg name will change when upgrading from
unflavoured to flavoured because the flavoured version will have a
PKGNAMESUFFIX. Does this require a MOVED entry?
The PKGNAMESUFFIX is based on default-versions so the "default" flavour
is whatever the current default version is. If I need a MOVED entry, do
I make the entry with the current default version?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2109141842530.54046>
