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.
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 |
This method has the following return value:
Name | Description | Type |
---|---|---|
driveHardware | Returned drive hardware information for the node. | JSON object array |
Requests for this method are similar to the following example:
{ "method": "ListDriveHardware", "params": {}, "id" : 1 }
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" } ] }
9.6