Was this issue ever submitted on Proxmox bug tracker?I had the same issue, but in my case the Serial was showing as 0s. Your code has an error, you were using double equal signs after ID_SCSCI_SERIAL. I corrected and serials are showing correctly.
Before - notice the SPCC drives
View attachment 60614
After code change
View attachment 60615
Git diff
Perl:@@ -329,6 +329,7 @@ sub get_udev_info { $data->{serial} = 'unknown'; $data->{serial} = $1 if $info =~ m/^E: ID_SERIAL=(\S+)$/m; + $data->{serial} = $1 if $info =~ m/^E: ID_SCSI_SERIAL=(\S+)$/m; $data->{gpt} = $info =~ m/^E: ID_PART_TABLE_TYPE=gpt$/m ? 1 : 0;