From owner-freebsd-questions@freebsd.org Thu Apr 30 21:56:03 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 E1C1C2C9E25 for ; Thu, 30 Apr 2020 21:56:03 +0000 (UTC) (envelope-from starrtennis@gmail.com) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Cq2V5Hfpz4752 for ; Thu, 30 Apr 2020 21:56:02 +0000 (UTC) (envelope-from starrtennis@gmail.com) Received: by mail-pj1-x1035.google.com with SMTP id a31so1503200pje.1 for ; Thu, 30 Apr 2020 14:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=8/WAjOmV44jmP7rYODh/r7uF948TTNttCgP/SNvctJE=; b=pmZKGjf12Guicw0emltsVxvC5S8fjhzBKVs5Su6Es5fTji1bv5NkM4KakjgUS16JJ5 qRod1PJJ1Q7IUyyLYyV4hBlnt6/u4tBdYWg7S4gI7+ZmChw4msFAf7w54XVR2yjycwis vBT4bxLUlHHdP+TJyiTBSB0sQoIm8NxsUqsQ0MMuGngzKGtnah/9pNqVyEDWw7jxRSK/ lT5I6/wc6+EPWOxfhFma5uIqUmu2gS2XRBbUfJ1YnzETOEBtTl0EBqAmouUqsqqbb2Hv tiv+pDj2xmBUU1JXyIY03BiNWVg6Ck00ADE3m6z4okHHlH21UgHZaPjj8HazA5w61hE2 eJsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=8/WAjOmV44jmP7rYODh/r7uF948TTNttCgP/SNvctJE=; b=ntks1mdGMKWB54ROSGFotcR1rbSLKbWko5eG+kn1kzNDRVMs4C9TZ8LblFNmiAYS8V aIbxK8bcHeniE/xc2mxcE9MZHFkRAZSekiT6RsrcCx/LQgjL3R7cgVroO/X6RfQRSl2J nYwy3n/z+PRNG+S+pTHn529yg+K8UmAGfBaHjxQxqvApyILfB8+vNtZ/4QU77oO31baa x84uwQ+E9I8D26rVSeMBELD/ZzFcbYGmUGTgyKk5547ZiARmlM8FtJY1lDn1vcThTgId ZaUk6FHkN6LZvPIoG4+wql6+xKq2l9sp3pu8VPjbDwE+7+HZ9iUEhdD6h5MVQqkfHA/z OvWw== X-Gm-Message-State: AGi0PuaPptAfD2OrFCe8+rnTmViYAFUeZgvwqCMoevO4x3/maU/RnfCF WdLnR4SUsmDiSgEqF8vP54B9fx2Aj0Hx5qGuV3xCnHcP X-Google-Smtp-Source: APiQypKbIqR09m6qhAR4RiK8kY1DjCLQ3WLUg/W6Mc+6w17rvi9XSM6PZotFDGVpiaiRxP1IL0FAycv+8cDGOao+xgk= X-Received: by 2002:a17:90a:21ce:: with SMTP id q72mr1061113pjc.0.1588283761036; Thu, 30 Apr 2020 14:56:01 -0700 (PDT) MIME-Version: 1.0 References: <4348B2AE-3E30-4345-8883-EAEA53A59220@kukulies.org> <0D1F4392-C646-42C8-9DB3-50F93236A6DC@kukulies.org> In-Reply-To: From: Mike Starr Date: Thu, 30 Apr 2020 14:55:49 -0700 Message-ID: Subject: Re: Mounting from ufs:/dev/ad2s1a failed with error 19. To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 49Cq2V5Hfpz4752 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=pmZKGjf1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of starrtennis@gmail.com designates 2607:f8b0:4864:20::1035 as permitted sender) smtp.mailfrom=starrtennis@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; IP_SCORE_FREEMAIL(0.00)[]; URI_COUNT_ODD(1.00)[3]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-6.41), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[5.3.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 21:56:03 -0000 Oh neat! Thanks for the advice! I'm looking up gparted as we speak. Mike On Thu, Apr 30, 2020 at 1:06 PM Trond Endrest=C3=B8l < trond.endrestol@ximalas.info> wrote: > On Thu, 30 Apr 2020 21:47+0200, Christoph Kukulies wrote: > > > Fine, but where in the installation process would I have had a chance t= o > decide for that option? > > Can I define UUID labels (is that GPT?) in the hindsight? > > Your system uses MBR, hence the ad0s prefix. > > UFS labels can be set while in singleuser mode, this is particular > important for the root filesystem. > > 1. Reboot to singleuser mode. > 2. Hit the enter key when asked about which shell to launch. > 3. tunefs -L root /dev/ad0s1a > 4. Ditto for the other *UFS* partitions. Consult your /etc/fstab. > 5. Verify the labels using dumpfs /dev/ad0s1a > 6. Reboot to multiuser mode. > 7. Duplicate the necessary lines in /etc/fstab. > 8. Comment out the original lines, in case you must revert. > 9. Change the duplicate lines to refer to /dev/ufs/root, etc. > 10. Reboot to see if you have succeeded. > 11. Remove the original lines in /etc/fstab, if desired. > > I recall issues in the past using glabel(8) which stores the label in > the last disk block (sector) of the partition. Hence the labeled > device file should present a device which is one disk block shorter to > avoid the label being overwritten. Maybe someone else can chime in on > this. > > I prefer GPT labels. See gpart(8), in particular > gpart modify -l label -i index diskdevice. > > -- > Trond. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >