A newer release of this product is available.
ListDriveHardware
You can use the ListDriveHardware
method to list all the drives connected to a node. When used on individual nodes, this method returns drive hardware information. When used on the cluster master node MVIP, this method returns information for all drives on all nodes.
Parameters
|
The "securitySupported": true line of the method response does not imply that the drives are capable of encryption; only that the security status can be queried. If you have a node type with a model number ending in "-NE", commands to enable security features on these drives will fail. |
This method has the following parameter:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
force |
Set to true to run this method on all nodes. |
boolean |
None |
No |
Return value
This method has the following return value:
Name | Description | Type |
---|---|---|
driveHardware |
Returned drive hardware information for the node. |
JSON object array |
Request example
Requests for this method are similar to the following example:
{ "method": "ListDriveHardware", "params": {}, "id" : 1 }
Response example
This method returns a response similar to the following example:
{ "id": 1, "result": { "driveHardware": [ { "canonicalName": "sda", "connected": true, "dev": 2048, "devPath": "/dev/slot0", "driveEncryptionCapability": "fips", "driveType": "Slice", "lifeRemainingPercent": 98, "lifetimeReadBytes": 0, "lifetimeWriteBytes": 14012129542144, "name": "scsi-SATA_SAMSUNG_MZ7GE24S1M9NWAG501251", "path": "/dev/sda", "pathLink": "/dev/slot0", "powerOnHours": 15489, "product": "SAMSUNG MZ7GE240HMGR-00003", "reallocatedSectors": 0, "reserveCapacityPercent": 100, "scsiCompatId": "scsi-SATA_SAMSUNG_MZ7GE24S1M9NWAG501251", "scsiState": "Running", "securityAtMaximum": false, "securityEnabled": true, "securityFrozen": false, "securityLocked": false, "securitySupported": true, "serial": "S1M9NWAG501251", "size": 240057409536, "slot": 0, "uncorrectableErrors": 0, "uuid": "789aa05d-e49b-ff4f-f821-f60eed8e43bd", "vendor": "Samsung", "version": "EXT1303Q" } ] }
New since version
9.6