Software Archive
Read-only legacy content
17061 Discussions

RAID Serial Number

Alex_F_1
Beginner
904 Views

Got a question about a RAID controller. A third party library we use for licensing needs to obtain a hard disk serial number so that it can node lock to the local hardware. According to them they use the following API:

  • DeviceIoControl(... IOCTL_STORAGE_QUERY_PROPERTY ...) on PhysicalDrive[0-15]
  • DeviceIoControl(... IOCTL_SCSI_MINIPORT ...) on Scsi[0-15]
  • DeviceIoControl(... SMART_GET_VERSION ...) on PhysicalDrive[0-15]
  • DeviceIoControl(... DFP_GET_VERSION ...) on PhysicalDrive[0-15]

One of our customers has "Intel embedded server raid technology ii" on their machine. On that machine none of the above methods are able to get disk serial number. Is there a way (driver update or configuration) such that would allow one of those methods to work? Is there another API that can get a unique serial number?

Thank you

Alex

 

 

 

 

0 Kudos
1 Reply
Gaurav_Gogia
Beginner
904 Views

Well the RAID software should automatically detect HDD and which port it is connected to. 

If that's not the case then taking a look at this:

https://community.spiceworks.com/topic/671307-retrieving-hard-drive-serial-number-via-wmic

0 Kudos
Reply