You are on page 1of 12

 所有产品  支持公告   视频

 搜索
Knowledge Base
chen, wyman  English 

Knowledge Base

 How can we help you?

展  家 »  内部部署 »  ONTAP 9 »  ONTAP 硬件 »  How to rem


如何在集群模式 Data ONTAP 中删除外部
磁盘的所有权
Last updated: Feb 2, 2022
 
视图:
11,453

能见度:
公共

票:
13

类别:
集群数据 ONTAP-8

专业:
硬件

最近更新:
2022/2/2 07:55:35

 目录

适用于

集群模式 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.

程序

执行以下步骤:

1. 找到显示旧所有者的磁盘:

::> system node run -node <node name> -command "disk show -a"

2. 对于具有旧所有者的每个磁盘,运行:

::> system node run -node <node name> -command "disk assign <disk> -s unowned -f"

一旦它们被无主,根据是否设置了自动分配标志,它们将立即被分配到节点,或者它们将准备好正
常分配。
或者,尝试将所有权更改为新系统。

::*> storage disk modify -disk <disk ID> -force-owner true -owner-id <owner ID>

注意:如果他们上面有骨料,则需要遵循外国骨料去除程序。有关详细信息,请参见知识库文章:
如何在集群模式 Data ONTAP 中删除或访问外部聚合(由孤立磁盘组成的聚合)。

如果问题仍然存在,请将磁盘架退回到原始存储系统并清除所有权(将其设置为无主)。然后将磁
盘架迁移到新环境。

使用 Data ONTAP 8.2.1 时,可以进行磁盘架热移除。请参见 : 在运行 Data ONTAP 8.2.1 或更高


版本的系统中热移除磁盘架。

若要识别群集不拥有的所有磁盘,请运行以下命令:

1. 确定节点的系统 ID。

对于 2 节点群集:

cluster::> node show -fields systemid


node systemid
--------- ----------
node-01 2222222
node-02 1111111

2 entries were displayed.

对于 MetroCluster:

cluster-siteA::> metrocluster node show -node node-01 -fields ha-partner-


systemid,dr-auxiliarysystemid,dr-partner-systemid,node-systemid
dr-group-id cluster node node-systemid ha-partner-systemid dr-partner-systemid
drauxiliary-
systemid
----------- ------------- ------- ------------- ------------------- ----------------
---
1 cluster-siteA node-01 111111111 222222222 333333333
444444444

2. Identify the disks:

cluster-siteA::> storage disk show -owner-id !111111111 -owner-id !222222222 -owner-


id
!333333333 -owner-id !444444444 -fields owner-id
disk owner-id
------ --------
5.32.8 123456

Additional Information

N/A
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.

Back to top How to remove and replace … How to remove SnapLock C…


这篇文章对您有帮助吗? X

 是的 不  留下反馈

Recommended articles

 How to determine the disk and shelf  AFF A700s not reporting all the information
firmware version on a controller and verify it in the "storage shelf show" output
is up to date
This article describes how to determine the
firmware version on which your drives and
shelves are running and on which version they
should be running.

 How to remove and replace a data disk that  How to check the NVRAM Battery status
is about to fail and voltage reading in ONTAP

Article type: How-to Confidence: Validated Flag: False Governance: Experience

KCS Enabled: Yes Visibility: Public Product Categories: Clustered Data Ontap 8 Specialty: HW

Tags: 1030786, type:howto

© Copyright 2024 NetApp Knowledge Base Powered by CXone Expert ®

More in Support
Contact Support
Report an Issue
Provide Feedback
Security Advisories
Support Policies and Offerings
Training
Community
Digital Support Blog
NetApp Neighborhood

Company
Newsroom
Events
NetApp Insight
Customer Stories
Environment, Social, and Governance
Investors
Careers
Contact Us

Sales
Try and Buy
Find A Partner
Partner With NetApp
US Public Sector Contracts
NetApp OnDemand Consumption
Data Visionary Centers

Legal
General Terms and Conditions
Privacy & Cookie Policy
Copyright
Patents
Trademarks
Community Terms of Use
Slavery and Human Trafficking Statement
Accessibility

Resources
Subscriptions
Search NetApp
Knowledge Center
NetApp's Response to the Ukraine Situation
© 2024 NetApp

English
Terms of Use
Privacy Policy
Cookie Policy
Cookies settings

You might also like