Need to know physical HDD serial numbers from proxmox console.

Jun 28, 2024
2
0
1
Need to know physical HDD serial numbers from proxmox console. It does not has any VM's

I used few commands

udevadm info -p 'block/sda' --query all
*sda replaces with disk name

sudo lshw -class disk
sudo lshw -class disk | grep serial

Zpool status

smartctl -i /dev/sda | grep Serial | awk '{print $3}'

and megacli



But it does not shows actual serial number of the hdd. Its on RAID1 with 2 on A and another 2 on B
 
Its on RAID1
Hardware Raid?

Then you need to use the specific (software-) tools of that controller as "the OS" does not see the physical drives at all...
 
  • Like
Reactions: Kingneutron
Can you say some software tools names?
No, sorry - there are too many. I do not use these and at the end of the day I am a ZFS fanboy ;-)

Or look at "lshw" or "lspci" for hints.
 
  • Like
Reactions: justinclift
@nkkaliyamoorthy What's the tool that was used to create the RAID array?

Generally that tool should be able to show you the real hardware serial numbers, as it'll need access to the hardware in order to create the RAID array. :)