From owner-freebsd-questions@freebsd.org Thu Apr 30 19:45:02 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 CCDC52C6DD4 for ; Thu, 30 Apr 2020 19:45:02 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Cm7J6Sklz3yQM for ; Thu, 30 Apr 2020 19:45:00 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id 03UJisLB098193 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 30 Apr 2020 21:44:54 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1588275894; bh=mcbGPfW3uNg+UUzsToNstTbdm4TT36UvhuhT0tuLbnU=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=AqMVLnBZxe872kFVathXhsac8omqkC6yUiJd7zh05zs1UvIWJHt3nopAw3vw0wxej WjWl+wtvE8+0n6sUe+E0//73wEyx0/sO1kF4dXjXjVs0rnm3Lk8nrI31Fmak5KHJI3 ZYSH03FAiMgIFAJb1eMx2jEu1c22SiaGg7ZJcUThxdATy3os76NxPwGHCOnOtszyXv fWwwz1KxkFoz5aISOLMWqK1UJRfh5PvIyM6VYhba/8RRwtBke6sE4KI1yGdd1rkIKx SBEoMSIQizORDugC/FtE0pPlLXAoxUbNNQYLDZq2E0AMuJvJnUM2dZCXJNZFFi1tUG eROWsu2TBKJSw== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id 03UJisux098189; Thu, 30 Apr 2020 21:44:54 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Thu, 30 Apr 2020 21:44:54 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: Christoph Kukulies cc: freebsd-questions@freebsd.org Subject: Re: Mounting from ufs:/dev/ad2s1a failed with error 19. In-Reply-To: <0D1F4392-C646-42C8-9DB3-50F93236A6DC@kukulies.org> Message-ID: References: <4348B2AE-3E30-4345-8883-EAEA53A59220@kukulies.org> <0D1F4392-C646-42C8-9DB3-50F93236A6DC@kukulies.org> User-Agent: Alpine 2.22 (BSF 395 2020-01-19) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on enterprise.ximalas.info X-Rspamd-Queue-Id: 49Cm7J6Sklz3yQM X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ximalas.info header.s=default header.b=AqMVLnBZ; dmarc=pass (policy=none) header.from=ximalas.info; spf=pass (mx1.freebsd.org: domain of trond.endrestol@ximalas.info designates 2001:700:1100:1::8 as permitted sender) smtp.mailfrom=trond.endrestol@ximalas.info X-Spamd-Result: default: False [-5.07 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ximalas.info:s=default]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ximalas.info:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; IP_SCORE(-2.07)[ip: (-8.43), ipnet: 2001:700::/32(-1.23), asn: 224(-0.70), country: NO(-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: Thu, 30 Apr 2020 19:45:02 -0000 On Thu, 30 Apr 2020 20:29+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. That's one reason you should consider using GPT or UFS labels. That way you'll always refer to the correct partition or filesystem regardless of where the drive is connected to the system. Swap partitions on MBR disks could be labeled using glabel(8). -- Trond.