Skip to main content
NetApp Knowledge Base

ONTAP Select Disk Cannot Be Detached from Node - Deploy Versions 9.13.1 and Later

Views:
19
Visibility:
Public
Votes:
0
Category:
ontap-select
Specialty:
virt
Last Updated:

Applies to

  • ONTAP Select (OTS) 9.10.1 and later
  • ONTAP Select Deploy 9.13.1 and later
  • ONTAP Select Deploy CLI command, node storage disk detach...

Issue

OTS disk detach from deploy is failing with an error due to duplicate vmdk names

(ONTAPdeploy) node storage disk detach -node-name <node_name> -cluster-name <cluster_name> -disks <*.vmdk_name>
The job for "node storage disk detach" has been submitted with request-id xxx. To monitor its progress, use the command "job monitor -request-id xxx".

(ONTAPdeploy) job monitor -request-id xxx
[Request xxx (failure)]: Job failed with error. <SDOTAdminError(key="NodeDetachDiskFailed", message="Failed to detach disk <disk_name> from node
"<node_name> in cluster <cluster_name>. Reason: Disk <disk_name> cannot be detached from node <node_name>. It is in use by "ONTAP". Can only detach disks that are broken, shared, spare, unassigned, or unknown.")>

(ONTAPdeploy) node storage disk show -cluster-name <cluster_name> -node-name <node_name>
+--------------------+--------------+----------+--------+------------+
| Name               | Logical Name | Capacity | Pool   | ONTAP Name |
+--------------------+--------------+----------+--------+------------+
| disk_1.vmdk        | -            | 1 TB     | poolA  | NET-1.1    |
| disk_1.vmdk        | -            | 2 TB     | poolB  | NET-1.1    | <-- vmdk was manually deleted from vCenter
| disk_5.vmdk        | -            | 3 TB     | poolB  | NET-1.2    |
| disk_6.vmdk        | -            | 3 TB     | poolB  | NET-1.3    |
+--------------------+--------------+----------+--------+------------+

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.