From owner-freebsd-questions@freebsd.org Sat May 2 04:49:18 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 110012C0E67 for ; Sat, 2 May 2020 04:49:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (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 49Dc8r6v24z3C6M for ; Sat, 2 May 2020 04:49:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.12.45.85]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1Mft3h-1ixr2v0GYT-00gJr6; Sat, 02 May 2020 06:49:12 +0200 Date: Sat, 2 May 2020 06:49:11 +0200 From: Polytropon To: David Christensen Cc: freebsd-questions@freebsd.org Subject: Re: Mounting from ufs:/dev/ad2s1a failed with error 19. Message-Id: <20200502064911.5a309c23.freebsd@edvax.de> In-Reply-To: References: <4348B2AE-3E30-4345-8883-EAEA53A59220@kukulies.org> <0D1F4392-C646-42C8-9DB3-50F93236A6DC@kukulies.org> <20200501051126.a41ff1cd.freebsd@edvax.de> <10b538ce-7b4d-22c1-dbde-60672244422e@holgerdanske.com> <20200501085510.9ef376bb.freebsd@edvax.de> 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:ZvujeeKBaEYwb/ta8DN80I5mqInEImf2qUwBGRD9SsNWJ+zvb50 CcCEicU4N/L+slosJ1Y+8GUIOswF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ius+ZtCI8SjFNjgGeEIikUbj4 X-Rspamd-Queue-Id: 49Dc8r6v24z3C6M 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 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.54 / 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]; RECEIVED_SPAMHAUS_PBL(0.00)[85.45.12.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, 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.75)[0.751,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.998,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[131.126.227.212.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.40)[ip: (1.17), ipnet: 212.227.0.0/16(-1.21), asn: 8560(2.04), country: DE(-0.02)] 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: Sat, 02 May 2020 04:49:18 -0000 On Fri, 1 May 2020 11:51:00 -0700, David Christensen wrote: > On 2020-04-30 23:55, Polytropon wrote: > > On Thu, 30 Apr 2020 22:42:47 -0700, David Christensen wrote: > >> 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? > > > > For this constellation, probably glabel is the convenient > > tool: "glabel label ", and then in the "zpool > > create" command use gpt/ indead of the device name. > > > > I have no idea of why MBR should be involved here (as you > > want to use ZFS)... > > > > Documentation: > > > > https://www.freebsd.org/doc/handbook/zfs-quickstart.html > > > > As the example shows, there is no MBR-related step involved. > > ZFS can manage devices just fine by itself. However, today's > > suggestion is to always use gpart (with -t freebsd-zfs for > > use with ZFS), so that's probably the best way to go. > > > > Here is some specific inspiration that also includes the > > use of GELI: > > > > https://blog.haraschak.com/from-dev-to-label/ > > > > So if I understand this correctly, the suggested approach > > is to use -l