跳转到主内容

如何在集群模式 Data ONTAP 中删除外部磁盘上的所有权

Views:
147
Visibility:
Public
Votes:
0
Category:
clustered-data-ontap-8<a>1030786</a>
Specialty:
hw
Last Updated:

适用场景

  • 集群模式 Data ONTAP 8
  • ONTAP 9
  • MetroCluster

问题描述

开始之前 ,请检查 Active IQ 是否会影响您的系统。

集群模式 Data ONTAP 无法在具有外部所有权的磁盘上获取磁盘所有权。

如果将磁盘引入集群系统,而这些磁盘来自另一个系统( 7- 模式或集群模式 Data ONTAP 系统),并且这些磁盘未正确无主,则这些磁盘将归其所属节点所有,并且集群将无法访问这些磁盘。

例如,如果用户从旧存储系统连接磁盘架,但在将原始磁盘所有权连接到新系统之前忘记清除原始磁盘所有权,则连接的磁盘将在第二行显示为:

r2cdot1::> storage disk show
Usable Container
Disk     size     Shelf     Bay     type     Position     Aggregate     Owner
----------------------------------------------------------------------------------------------------------------------
:
r2cdot1-01:0a.00.23     -     0     23     spare     present     -     r2cdot1-01
r2cdot1-01:0b.10.0     -     10     0     unknown     present     -     netapp2
:

任何删除外部所有权的尝试都将失败,并显示以下错误:

r2cdot1::> storage disk removeowner -disk r2cdot1-01:0b.10.0 -force true
Error: command failed: Failed to find node ID for node netapp2

 

r2cdot1::> storage disk modify -disk r2cdot1-01:0b.10.0 -ownerr2cdot1-01 -force-owner
Error: command failed: Failed to change the owner of disk"r2cdot1-01:0b.10.0". Reason: Unknown.

 

r2cdot1::> node run local
r2cdot1-01> priv set diag
r2cdot1-01*> disk remove_ownership 0b.10.0 disk remove_ownership: Disk 0b.10.0 is not owned by
this node.
r2cdot1-01*> disk remove_ownership 0b.10.0 -f disk remove_ownership: Disk 0b.10.0 is not owned by
this node.
r2cdot1-01*> disk assign 0b.10.0 -s unowned Disk assign request failed.
r2cdot1-01*> disk assign 0b.10.0 -s unowned -f Disk assign request failed.

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.