With kernel 6.2 I can no longer see partitions on the front facing nvme drive. The device file is there, but no partitions are visible.
Drive is readable on other machines, and with older kernel.
[root@pegasus ~]# ll /dev/ | grep nvme
crw------- 1 root root 240, 0 May 4 20:55 nvme0
brw-rw---- 1 root disk 259, 0 May 4 20:55 nvme0n1
brw-rw---- 1 root disk 259, 1 May 4 20:55 nvme0n1p1
brw-rw---- 1 root disk 259, 2 May 4 20:55 nvme0n1p2
brw-rw---- 1 root disk 259, 3 May 4 20:55 nvme0n1p3
crw------- 1 root root 240, 1 May 4 20:55 nvme1
[root@pegasus ~]#
[root@pegasus ~]# zpool status rpool
pool: rpool
state: DEGRADED
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-4J
scan: scrub repaired 0B in 00:00:03 with 0 errors on Sun Oct 10 00:24:05 2021
config:
NAME STATE READ WRITE CKSUM
rpool DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
nvme-ADATA_SWORDFISH_2L0329QKNKUC-part3 ONLINE 0 0 0
4737682860907798044 UNAVAIL 0 0 0 was /dev/disk/by-id/nvme-ADATA_SWORDFISH_2L032L2K85JY-part3
errors: No known data errors
[root@pegasus ~]#
I have another identical machine with the same problem on 6.2, that is currently booted to the old kernel 5.15.102-1-pve, and the drive is visible again. ZFS has automatically re-silvered the drive as soon as it was detected, and after clearing the errors on the pool is healthy.
[root@galactica ~]# ll /dev/ | grep nvme
crw------- 1 root root 241, 0 May 4 20:13 nvme0
brw-rw---- 1 root disk 259, 0 May 4 20:13 nvme0n1
brw-rw---- 1 root disk 259, 2 May 4 20:13 nvme0n1p1
brw-rw---- 1 root disk 259, 3 May 4 20:13 nvme0n1p2
brw-rw---- 1 root disk 259, 4 May 4 20:13 nvme0n1p3
crw------- 1 root root 241, 1 May 4 20:13 nvme1
brw-rw---- 1 root disk 259, 1 May 4 20:13 nvme1n1
brw-rw---- 1 root disk 259, 5 May 4 20:13 nvme1n1p1
brw-rw---- 1 root disk 259, 6 May 4 20:13 nvme1n1p2
brw-rw---- 1 root disk 259, 7 May 4 20:13 nvme1n1p3
[root@galactica ~]#
[root@galactica ~]# zpool status rpool
pool: rpool
state: ONLINE
status: Some supported and requested features are not enabled on the pool.
The pool can still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: resilvered 980M in 00:00:02 with 0 errors on Thu May 4 20:13:18 2023
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
nvme-ADATA_SWORDFISH_2L032L2997DH-part3 ONLINE 0 0 0
nvme-ADATA_SWORDFISH_2K50292DK9R1-part3 ONLINE 0 0 0
errors: No known data errors
[root@galactica ~]#
Proxmox: 7.4-3
Kernel: 6.2.11-1-pve
Motherboard: ASROCK B550 Phantom Gaming-ITX/ax
CPU: AMD Ryzen 7 5700G