idrac physical disk lineage to proxmox /dev/sdX?

pemadiot

Member
Feb 16, 2021
8
0
21
54
Hello,

We have a proxmox 6.X cluster running on dell poweredge set of servers.
The servers are equiped with iDrac, and from there we can configure the physical disks into dell virtual disk in RAID 0.
I'm trying to figure out the id of the disk (HW) at each level of its visibility :
idrac physical <-> idrac virtual <-> proxmox LVM/BLK

These disk are then visible via smartcl -d scsi -a /dev/sdX showing showing :
Vendor: DELL
Product: Perc H740P Mini
Logical Unit id: 0x...........
Serial number: .......

the smartctl Logical Unit id being reflected in the proxmox disks attribute as the serial number.


also, blkid /dev/sdX shows
/dev/sdX: UUID="xxxxxx-xxxx-xxxx-xxxxxxxxx" TYPE="LVM2_member"

pvdisplay /dev/sdX shows same UUID as the PV UUID.

looking for the way to link apparent to trace the /dev/sdX to the DELL iDrac's virtual and/or physical drive.
 
Its not PVE specific, something like this?
Code:
/opt/dell/srvadmin/bin/idracadm7 storage get pdisks -o|grep -i serial
   SerialNumber                     = yyy                           
   SerialNumber                     = yyy                         
   SerialNumber                     = yyy                         
   SerialNumber                     = xxxx                                 
   SerialNumber                     = yyy                             
   SerialNumber                     = yyy                             
udevadm info --query=all --name=/dev/nvme2n1|grep -i serial
E: ID_SERIAL=xxxx
E: ID_SERIAL_SHORT=xxxx


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox