You can use the GetDriveHardwareInfo method to get all the hardware information for the given drive. This generally includes manufacturers, vendors, versions, and other associated hardware identification information.
This method has the following input parameter:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
driveID | ID of the drive for the request. | integer | None | Yes |
This method has the following return value:
Name | Description | Type |
---|---|---|
result | Returned hardware information for the specified driveID. | hardwareInfo |
Requests for this method are similar to the following example:
{ "method": "GetDriveHardwareInfo", "params": { "driveID": 5 }, "id" : 100 }
This method returns a response similar to the following example:
{ "id" : 100, "result" : { "driveHardwareInfo" : { "description" : "ATA Drive", "dev" : "8:80", "devpath" : "/devices/pci0000:40/0000:40:01.0/0000:41:00.0/host6/port-6:0/expander-6:0/port-6:0:4/end_device-6:0:4/target6:0:4/6:0:4:0/block/sdf", "driveSecurityAtMaximum" : false, "driveSecurityFrozen" : false "driveSecurityLocked" : false, "logicalname" : "/dev/sdf", "product" : "INTEL SSDSA2CW300G3", "securityFeatureEnabled" : false, "securityFeatureSupported" : true, "serial" : "CVPR121400NT300EGN", "size" : "300069052416", "uuid" : "7e1fd5b9-5acc-8991-e2ac-c48f813a3884", "version" : "4PC10362" } } }