New SSDs not showing correct Serial# in Proxmox Disk Manager

I faced a weird issue. I added 5x identical brand new consumer grade SSDs to my DL380P, and inside Proxmox disk manager, they all showed up as having Serial#s as 0s, see below.

Upon looking further, it appeared that Proxmox is using ID_SERIAL from udevadm.

udevadm info -q all -n /dev/sda|grep SERIAL
E: ID_SERIAL=30000000000000000
E: ID_SERIAL_SHORT=0000000000000000
E: ID_SCSI_SERIAL=AA230217S302KG01465

The correct serial number is shown in ID_SCSI_SERIAL.

I looked around on Proxmox forums, and found that someone had reported a similar issue here: https://forum.proxmox.com/threads/disk-serialnumber-in-pve-host-disk.122251/

There was a solution recommended by one of the staff members, but had a small error in the code. I fixed the error, and implemented the code.

After this confirmed that Proxmox is showing correct Serial#s for these drives.

I reported the results to the forum. See my response here: https://forum.proxmox.com/threads/disk-serialnumber-in-pve-host-disk.122251/#post-620855

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.