Re: FreeBSD 14 vs nvme gpart partitions

From: Craig Leres <leres_at_freebsd.org>
Date: Wed, 12 Jun 2024 02:40:14 UTC
On 6/11/24 18:41, Craig Leres wrote:
> I just upgraded an intel nuc from 13.3 to 14.1 and I don't have swap any 
> more. The root filesystem is a single nvme and see now that nvd was 
> renamed nda but I no longer have the gpart partition entries in /dev.
> 
> Earlier I upgraded a system with a 2 nvme mirror and that system still 
> has the gpart swap partition (i.e. nda0p2). I guess I don't understand 
> why the nuc doesn't. Poking around I see 
> /dev/diskid/DISK-S5P2NU0W137782Zp2 but I'd prefer to use /dev/nda0p2?!?!

D'oh! I found some things to put into loader.conf to solve my issues:

     kern.geom.label.disk_ident.enable="0"
     kern.geom.label.gptid.enable="0"

Apparently I needed this way back when I built my first poudriere build 
server.

I still don't understand why the os upgrade switched modes but I guess 
at this point I sorta don't care.

Sorry for the noise.

		Craig

tiny 6 # swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/nda0p2      33554432        0 33554432     0%