From owner-freebsd-questions@freebsd.org Thu May 7 19:22:07 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 57A762E2853 for ; Thu, 7 May 2020 19:22:07 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49J3Hf333qz4c31 for ; Thu, 7 May 2020 19:22:06 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 7 May 2020 12:22:00 -0700 Subject: Re: SSD woes - boot To: freebsd-questions@freebsd.org References: <28BC0AA1-FF58-406A-A5EE-FB0641D2C2B5@kukulies.org> <20200507112813.91e445a39bffbcdb906f05e8@sohara.org> From: David Christensen Message-ID: <1df1667c-3b5e-6668-2bad-d7c0e2da897e@holgerdanske.com> Date: Thu, 7 May 2020 12:21:59 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <20200507112813.91e445a39bffbcdb906f05e8@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49J3Hf333qz4c31 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-1.63 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.975,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.56)[ipnet: 184.104.0.0/15(0.42), asn: 6939(-3.19), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; DMARC_NA(0.00)[holgerdanske.com]; RCVD_IN_DNSWL_NONE(0.00)[27.128.105.184.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; 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:22:07 -0000 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. But, two out of three is better than zero out of three with device nodes. David