From nobody Wed Jul 17 22:02:21 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WPVK46jKHz5QTnH for ; Wed, 17 Jul 2024 22:02:00 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WPVK44pQwz4r1d; Wed, 17 Jul 2024 22:02:00 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-25e3d8d9f70so87392fac.2; Wed, 17 Jul 2024 15:02:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721253719; x=1721858519; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ez+tgUTHpl3IXXO2goNiFozOa7upECawDtcYXM+80hM=; b=RpZFSL6AbE9hvrGR4nSOiMmoQDLzEgp1pihyZCSJX2DrxF82VZ3L6mEruJPdkScvE5 w5Hihb9a0FMc0/uzCu6tihYUzXLcoaxe9pupfiavY1ao3q68TArrQWM5a6QEwJFp4Ura Dh0ZRXaaLyPSfXoXz+xxEZ+JcJnEqpvGZ61oDsx544YOpvKNCeCMfmeB02lzjqr12vA2 +5qDXjoD7e2UTc1dA+K+pdyFiKwAAKvUtEW/gRc18UoOxlVWFHstZHhy7nXM5KP776m8 p6D2IrJhbuWbDP56BiVRR4aA6VNsSnLhi0puQJIsBYmMXYhjWG8MdbFzNPn2gyulrzuV QpEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721253719; x=1721858519; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ez+tgUTHpl3IXXO2goNiFozOa7upECawDtcYXM+80hM=; b=AwUhZauu5hQZpeKJCRQkOrt60otOUbkpsp96a5iLzgBguIMTphw4zzIkQ+XMVrSAPn dtVumI/uDFhIy9rqzhdUfj/GLZ45T17zj1zKmEYicrXb4pCgCbNQ3TvzhvExPDLmr3pI 7CuuJOtRHHprOmX3WJvQ64xUz0+BaLmqowx4bqCnfA9OnYkKg4yn2GZK0R5lDVQ5KpNw QT1AwbHFG4MSxzVLNHJ50kAqZk1Xm2EEvyg7kVuNZ6lBbh610dZSauvi1IEbMNHqDPvu rJ2DI7l+F1P7rb7RWzJPT4V1f4M9toO+CdaOu0sXtGRWBFUqZATXZT06uGcBG56+W665 e8OA== X-Gm-Message-State: AOJu0YwZXEfDvxSG/YLwbJcE5hi3WalFy5I0uC0IA4cGoHlX0+xP8C2R /1oKilbk9d4XPwzt9lQHMUEzoyMff51qt/NbiV11GJ5qg7xjvrZVBpEBLB8ipMUFCzXPvYr+jHE YjcC42/bl6Li/Yq3SxQT0Z22Plohw0Q== X-Google-Smtp-Source: AGHT+IFhB9fAqjhni411njNgkQkVhBctrygcAiNYCDi1W6smQVh6y+jH7LV7pG1ySQpAnopOnSdbs+rJ523KtsdJwog= X-Received: by 2002:a05:6871:8a9:b0:260:3bdb:93a6 with SMTP id 586e51a60fabf-260d928a4fdmr2563303fac.46.1721253719099; Wed, 17 Jul 2024 15:01:59 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Wed, 17 Jul 2024 18:02:21 -0400 Message-ID: Subject: Re: add in SATA card -- ada0 "moves" to ad1, breaking the boot process ? To: Matthew Seaman Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="0000000000007edd5e061d789c7b" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US] X-Rspamd-Queue-Id: 4WPVK44pQwz4r1d --0000000000007edd5e061d789c7b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks tunefs -L foo it is, then. Bill Dudley This email is free of malware because I run Linux. On Wed, Jul 17, 2024 at 4:33=E2=80=AFPM Matthew Seaman wrote: > On 17/07/2024 20:58, William Dudley wrote: > > How do I prevent the drive names from changing? Or can't I? > > > > One of the following? > > * glabel(8) for gpart(8) disk partitions > > * tunefs(8) can add a label to UFS2 filesytems > > In either case a disk device using the label will appear under /dev, and > you can use that in fstab(5) > > You might already have labels on your drive partitions: the FreeBSD > installer creates them by default. Try `gpart show -l` to see. > > Or just use ZFS -- it knows its own drives, no matter what device the OS > wants to call them. There's a fun party trick to take out the drives > containing a ZFS pool, shuffle them around, reinstall and boot up again. > > Cheers, > > Matthew > > --0000000000007edd5e061d789c7b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks

tunefs -L foo it is, then.
=

Bill Dudley
This email is free= of malware because I run Linux.


On Wed, Jul 17, 2024= at 4:33=E2=80=AFPM Matthew Seaman <matthew@freebsd.org> wrote:
On 17/07/2024 20:58, William Dudley wrote:
> How do I prevent the drive names from changing?=C2=A0 Or can't I?<= br> >

One of the following?

* glabel(8) for gpart(8) disk partitions

* tunefs(8) can add a label to UFS2 filesytems

In either case a disk device using the label will appear under /dev, and you can use that in fstab(5)

You might already have labels on your drive partitions: the FreeBSD
installer creates them by default.=C2=A0 Try `gpart show -l` to see.

Or just use ZFS -- it knows its own drives, no matter what device the OS wants to call them.=C2=A0 There's a fun party trick to take out the dri= ves
containing a ZFS pool, shuffle them around, reinstall and boot up again.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Matthew

--0000000000007edd5e061d789c7b--