Re: add in SATA card -- ada0 "moves" to ad1, breaking the boot process ?
Date: Wed, 17 Jul 2024 22:02:21 UTC
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 PM 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 > >