The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
A newer release of this product is available.
ResetDrives
Contributors
-
PDF of this doc site
-
Manage storage with Element software
-
Protect your data
-
Replication between NetApp Element software and ONTAP (ONTAP CLI)
-
-
-

Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
You can use the ResetDrives
method to proactively initialize drives and remove all data currently residing on a drive. The drive can then be reused in an existing node or used in an upgraded node.
Parameters
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
drives |
List of device names (not driveIDs) to reset. |
string |
None |
Yes |
force |
Set to true to reset the drive. |
boolean |
None |
Yes |
Return value
This method has the following return value:
Name | Description | Type |
---|---|---|
details |
Details of drives that are being reset. |
JSON object array |
Request example
Requests for this method are similar to the following example:
{ "method": "ResetDrives", "params": { "drives" : "slot3", "force" : true }, "id" : 1 }
Response example
This method returns a response similar to the following example:
{ "id": 1, "result": { "details": { "drives": [ { "drive": "slot3", "returnCode": 0, "stderr": " * Unlocking /dev/slot9 .[ ok ]\ * Setting master password /dev/slot9 .[ ok ]\ * Secure erasing /dev/slot9 (hdparm) [tries=0/1] ...........................[ ok ]", "stdout": "" } ] }, "duration": "00:00:28.501269", "result": "Passed" } }
New since version
9.6