From owner-freebsd-questions@freebsd.org Fri May 1 05:42:56 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 080EA2B6AE3 for ; Fri, 1 May 2020 05:42:56 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49D1PB2SsPz42D4 for ; Fri, 1 May 2020 05:42:54 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 30 Apr 2020 22:42:47 -0700 Subject: Re: Mounting from ufs:/dev/ad2s1a failed with error 19. To: freebsd-questions@freebsd.org References: <4348B2AE-3E30-4345-8883-EAEA53A59220@kukulies.org> <0D1F4392-C646-42C8-9DB3-50F93236A6DC@kukulies.org> <20200501051126.a41ff1cd.freebsd@edvax.de> From: David Christensen Message-ID: <10b538ce-7b4d-22c1-dbde-60672244422e@holgerdanske.com> Date: Thu, 30 Apr 2020 22:42:47 -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: <20200501051126.a41ff1cd.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49D1PB2SsPz42D4 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 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-2.80 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-1.71)[ip: (-0.25), ipnet: 2001:470::/32(-4.64), asn: 6939(-3.59), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; DMARC_NA(0.00)[holgerdanske.com]; 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:2001:470::/32, 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.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2020 05:42:56 -0000 On 2020-04-30 20:11, Polytropon wrote: > On Thu, 30 Apr 2020 20:29:14 +0200, Christoph Kukulies wrote: >> Could solve it myself: bootet back to usb drive, mounted >> /dev/ada0s1 /mnt and edited /mnt/etc/fstab to the correct >> mount device. >> There were ada2s1 for / and another ada2 device for swap. >> Changed that to ada0s1 and now the system boots fine. > > If you can, use labels to avoid those kinds of problem. :-) > > https://www.freebsd.org/doc/handbook/geom-glabel.html Is there a FreeBSD labeling solution, or any other identifier solution that avoids using device nodes, for the combination BIOS, MBR, GELI, and ZFS? And, that works if I use dd(1) to copy the raw system disk contents from one device to another -- ATA drive, USB drive, SD card, etc.? David