Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2024 18:41:31 -0700
From:      Craig Leres <leres@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   FreeBSD 14 vs nvme gpart partitions
Message-ID:  <1b40c5a6-632f-4b60-8a0d-4c06a07a5187@freebsd.org>

next in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b40c5a6-632f-4b60-8a0d-4c06a07a5187>