From owner-freebsd-questions@freebsd.org Thu May 7 19:28:25 2020 Return-Path: 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 E8DB92E2E72 for ; Thu, 7 May 2020 19:28:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49J3Qx0S2gz4cXq for ; Thu, 7 May 2020 19:28:24 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.118.8]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1N3KDM-1j6xsm1uni-010OPI; Thu, 07 May 2020 21:28:18 +0200 Date: Thu, 7 May 2020 21:28:17 +0200 From: Polytropon To: David Christensen Cc: freebsd-questions@freebsd.org Subject: Re: SSD woes - boot Message-Id: <20200507212817.8f8defd4.freebsd@edvax.de> In-Reply-To: <1df1667c-3b5e-6668-2bad-d7c0e2da897e@holgerdanske.com> References: <28BC0AA1-FF58-406A-A5EE-FB0641D2C2B5@kukulies.org> <20200507112813.91e445a39bffbcdb906f05e8@sohara.org> <1df1667c-3b5e-6668-2bad-d7c0e2da897e@holgerdanske.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:LT2861+Y/tbjkJOPLlFECHDZ/B71Wbg9yIZQbGblQpcy3H75AM1 E5GpPAcFL3rZ1+3q3GK+UJb3oCFo/jfJpsEa3iQZHlR8WEAPRsQog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Qx0S2gz4cXq X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.74) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.57 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.32)[ip: (-0.69), ipnet: 217.72.192.0/20(0.31), asn: 8560(2.02), country: DE(-0.02)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.85)[0.847,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.997,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[74.192.72.217.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[74.192.72.217.rep.mailspike.net : 127.0.0.19]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2020 19:28:26 -0000 On Thu, 7 May 2020 12:21:59 -0700, David Christensen wrote: > On 2020-05-07 03:28, Steve O'Hara-Smith wrote: > > On Thu, 7 May 2020 11:16:25 +0200 > > Christoph Kukulies wrote: > > > >> Now I got to figure out the UUID labeling thing - maybe :) > > > > I've just been going three rounds with labelling an iscsi and > > finally found a solution which may be useful to you since gpt and glabel > > labels just vanish with iscsi restarts. > > > > If kern.geom.label.disk_ident.enable is set to 1 (/boot/loader.conf > > for persistence) then when a drive is discovered /dev/diskid/ > > gets created. > > That is an intriguing alternative. I expect it will solve the use-case > of adding, removing, and rearranging drives and adapters within a > computer. I also expect it will solve the use-case of moving the system > device from one computer to another computer. But, I expect it will > fail to solve the use-case of moving a raw system image from one device > to another device using dd(1), because the new device will have a > different serial number. Maybe UFSIDs can help here? When dd'ing a whole disk, the ID of the UFS filesystem will probably be copied 1:1, so the ID will be identical. However, this only works for UFS exclusively, if that scope is enough for your desired application. Please see my previous posts for more information about UFSIDs. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...