TestDrives

You can use the TestDrives method to run a hardware validation on all drives on the node. This method detects hardware failures on the drives and reports any in the results of the validation tests.

Parameters

You can only use the TestDrives method on nodes that are not "Active" in a cluster.

Note: This test takes approximately 10 minutes.

This method has the following input parameters:

Name Description Type Default value Required
force Set to true to test the drives on the node. boolean None Yes
minutes Specifies the number of minutes for the test to run. integer 10 No

Return value

This method has the following return value:

Name Description Type
details Information about the test operation success or failure. JSON object

Request example

Requests for this method are similar to the following example:

{
   "method": "TestDrives",
   "params": {
              "force": true,
              "minutes" : 10
             },
   "id" : 1
}

Response example

This method returns a table containing test results for each drive in the node.