Discussion:
FreeBSD 14 vs nvme gpart partitions
(too old to reply)
Craig Leres
2024-06-12 01:41:31 UTC
Permalink
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?!?!

Craig

tiny 61 # swapinfo
Device 1K-blocks Used Avail Capacity
tiny 62 # fgrep sw /etc/fstab
/dev/nda0p2 none swap sw
0 0
tiny 63 # ls -l /dev | egrep 'nvd|nda'
crw-r----- 1 root operator 0x51 Jun 11 17:53 nda0
lrwxr-xr-x 1 root wheel 4 Jun 11 17:53 nvd0 -> nda0
tiny 64 # gpart show
=> 40 1953525088 diskid/DISK-S5P2NU0W137782Z GPT (932G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 67108864 2 freebsd-swap (32G)
67110912 1886412800 3 freebsd-zfs (900G)
1953523712 1416 - free - (708K)

=> 40 3907029088 diskid/DISK-ZDZ9EHYQ GPT (1.8T)
40 2008 - free - (1.0M)
2048 3907026944 1 freebsd-zfs (1.8T)
3907028992 136 - free - (68K)



--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Craig Leres
2024-06-12 02:40:14 UTC
Permalink
Post by Craig Leres
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%


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...