Date: Wed, 17 Jul 2024 21:32:43 +0100 From: Matthew Seaman <matthew@FreeBSD.org> To: questions@freebsd.org Subject: Re: add in SATA card -- ada0 "moves" to ad1, breaking the boot process ? Message-ID: <a2d4a02d-ffdd-483b-8ff5-4e27a70530b4@FreeBSD.org> In-Reply-To: <CAFsnNZJ2iq8bm=71S3Gp379gqE9H0aF6ucqmERO-q_BhGui1DA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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, Matthewhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a2d4a02d-ffdd-483b-8ff5-4e27a70530b4>
