From nobody Tue Nov 28 23:13:48 2023 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sfyv36pXwz52jKP for ; Tue, 28 Nov 2023 23:13:51 +0000 (UTC) (envelope-from SRS0=hzR4=HJ=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sfyv26b0Fz3TMP for ; Tue, 28 Nov 2023 23:13:50 +0000 (UTC) (envelope-from SRS0=hzR4=HJ=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of "SRS0=hzR4=HJ=quip.cz=000.fbsd@elsa.codelab.cz" has no SPF policy when checking 94.124.105.4) smtp.mailfrom="SRS0=hzR4=HJ=quip.cz=000.fbsd@elsa.codelab.cz"; dmarc=none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6C222D798A for ; Wed, 29 Nov 2023 00:13:49 +0100 (CET) Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id BFEA9D788C for ; Wed, 29 Nov 2023 00:13:48 +0100 (CET) Message-ID: <35a60698-30f4-4ca5-9b86-f274a4c2beb6@quip.cz> Date: Wed, 29 Nov 2023 00:13:48 +0100 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Missing disk partition devices and GPT lables in /dev/ Content-Language: cs-Cestina, en-US To: stable@freebsd.org References: <34a54774-004d-40de-bf0d-2985da5bc908@quip.cz> <6b713a9c-c778-45fb-9626-9ad05df28d50@quip.cz> From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <6b713a9c-c778-45fb-9626-9ad05df28d50@quip.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [2.46 / 15.00]; AUTH_NA(1.00)[]; NEURAL_SPAM_SHORT(0.90)[0.899]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=hzR4=HJ=quip.cz=000.fbsd@elsa.codelab.cz]; NEURAL_SPAM_MEDIUM(0.25)[0.251]; NEURAL_SPAM_LONG(0.10)[0.101]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[stable@freebsd.org]; DMARC_NA(0.00)[quip.cz]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=hzR4=HJ=quip.cz=000.fbsd@elsa.codelab.cz]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; RCVD_TLS_LAST(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Sfyv26b0Fz3TMP X-Spamd-Bar: ++ On 28/11/2023 23:26, Miroslav Lachman wrote: > On 28/11/2023 20:55, Warner Losh wrote: > As you can see there are aliases in /dev/gpt/, there are partitions for > /dev/adaX devices and the pools are made of gpt labels. > This is what I expect from the system in my first post. > > I will try to disable disk_ident as suggested by Freddie Cash. I rebooted the machine with disabled disk_ident and gptid but nothing changed: # ls -1 /dev/ada* /dev/ada0 /dev/ada1 # ls -1 /dev/gpt ls: /dev/gpt: No such file or directory # zpool list -v | cut -c1-28 NAME sys mirror-0 diskid/DISK-Z3010G8Vp3 diskid/DISK-Z302YC90p3 tank1 mirror-0 diskid/DISK-Z3010G8Vp5 diskid/DISK-Z302YC90p5 # sysctl kern.geom.label kern.geom.label.disk_ident.enable: 0 kern.geom.label.gptid.enable: 0 kern.geom.label.gpt.enable: 1 kern.geom.label.ufs.enable: 1 kern.geom.label.ufsid.enable: 1 kern.geom.label.reiserfs.enable: 1 kern.geom.label.ntfs.enable: 1 kern.geom.label.msdosfs.enable: 1 kern.geom.label.iso9660.enable: 1 kern.geom.label.flashmap.enable: 1 kern.geom.label.ext2fs.enable: 1 kern.geom.label.debug: 0 # ls -1 /dev/diskid/ DISK-Z3010G8V DISK-Z3010G8Vp1 DISK-Z3010G8Vp2 DISK-Z3010G8Vp3 DISK-Z3010G8Vp4 DISK-Z3010G8Vp5 DISK-Z302YC90 DISK-Z302YC90p1 DISK-Z302YC90p2 DISK-Z302YC90p3 DISK-Z302YC90p4 DISK-Z302YC90p5 Why are diskid aliases created if they should be disabled by sysctl kern.geom.label.disk_ident.enable? Kind regards Miroslav Lachman