Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2024 18:02:21 -0400
From:      William Dudley <wfdudley@gmail.com>
To:        Matthew Seaman <matthew@freebsd.org>
Cc:        questions@freebsd.org
Subject:   Re: add in SATA card -- ada0 "moves" to ad1, breaking the boot process ?
Message-ID:  <CAFsnNZJ1KdqSypM3KsZVEfMhRwUA=zDRP_6sujrmFeLQXjnR7w@mail.gmail.com>
In-Reply-To: <a2d4a02d-ffdd-483b-8ff5-4e27a70530b4@FreeBSD.org>
References:  <CAFsnNZJ2iq8bm=71S3Gp379gqE9H0aF6ucqmERO-q_BhGui1DA@mail.gmail.com> <a2d4a02d-ffdd-483b-8ff5-4e27a70530b4@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <matthew@freebsd.org=
> 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

<div dir=3D"ltr">Thanks<div><br></div><div>tunefs -L foo it is, then.</div>=
<div><br></div><div>Bill Dudley<br clear=3D"all"><div><div dir=3D"ltr" clas=
s=3D"gmail_signature" data-smartmail=3D"gmail_signature">This email is free=
 of malware because I run Linux.</div></div><br></div></div><br><div class=
=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Jul 17, 2024=
 at 4:33=E2=80=AFPM Matthew Seaman &lt;<a href=3D"mailto:matthew@freebsd.or=
g">matthew@freebsd.org</a>&gt; wrote:<br></div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,2=
04);padding-left:1ex">On 17/07/2024 20:58, William Dudley wrote:<br>
&gt; How do I prevent the drive names from changing?=C2=A0 Or can&#39;t I?<=
br>
&gt; <br>
<br>
One of the following?<br>
<br>
* glabel(8) for gpart(8) disk partitions<br>
<br>
* tunefs(8) can add a label to UFS2 filesytems<br>
<br>
In either case a disk device using the label will appear under /dev, and <b=
r>
you can use that in fstab(5)<br>
<br>
You might already have labels on your drive partitions: the FreeBSD <br>
installer creates them by default.=C2=A0 Try `gpart show -l` to see.<br>
<br>
Or just use ZFS -- it knows its own drives, no matter what device the OS <b=
r>
wants to call them.=C2=A0 There&#39;s a fun party trick to take out the dri=
ves <br>
containing a ZFS pool, shuffle them around, reinstall and boot up again.<br=
>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Matthew<br>
<br>
</blockquote></div>

--0000000000007edd5e061d789c7b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZJ1KdqSypM3KsZVEfMhRwUA=zDRP_6sujrmFeLQXjnR7w>