跳转到主内容

由于存在外部聚合、无法使用新磁盘架中的磁盘创建聚合

Views:
77
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>200966882.</a>
Last Updated:

适用场景

  • ONTAP 9
  • FAS/AFF

问题描述

  • 必须从新添加的磁盘架创建聚合。
  • 该磁盘架上的磁盘已分配给容器。
cluster1::> disk show -shelf 1
                                    
           Usable       Disk   Container  Container
Disk          Size Shelf Bay Type   Type     Name   Owner
---------------- ---------- ----- --- ------- ----------- --------- --------
1.1.0         3.63TB    1   0 FSAS   shared    aggr0   node-02
1.1.1         3.63TB    1   1 FSAS   shared    aggr0   node-01
.
.
1.1.22        3.63TB    1  22 FSAS   spare    aggr0   node-02
1.1.23        3.63TB    1  23 FSAS   spare    aggr0   node-01
24 entries were displayed.
  • 现有容器未在 aggr show 输出中列出。

cluster1::> aggr show

Aggregate    Size Available Used% State   #Vols  Nodes       RAID Status
--------- -------- --------- ----- ------- ------ ---------------- ------------
root_n1    159.9GB   7.75GB   95% online      1 node-01       raid_dp,
                                  normal
root_n2    159.9GB   7.75GB   95% online      1 node-02       raid_dp,
                                  normal
data_aggr1 10.13TB  10.13TB   0% online      1 node-01       raid_dp,
                                  normal
data_aggr2 10.13TB  10.13TB   0% online      1 node-02       raid_dp,
                                  normal
4 entries were displayed.

  • 所有权删除失败:

cluster1::> storage disk removeowner -disk 1.1.0

Error: command failed: Failed to remove the owner of disk "1.1.0". Reason: Cannot remove owner of disk "1.1.0" because it is shared.

  • 指定 -root 或时会出现相同的错误 -data无法删除共享磁盘的所有者,如KB Failed to remove the owner(知识库无法删除共享磁盘的所有者)中所述。
  • 聚合 offline 失败 remove-stale-record 、并显示以下错误:

cluster1::> set -privilege advanced

Warning: These advanced commands are potentially dangerous; use them only when directed to do so by NetApp personnel.
Do you want to continue? {y|n}: y

cluster1::*> storage aggregate offline aggr0

Error: command failed: Failed to check if aggr0 is a foreign (unknown) aggregate. Reason: entry doesn't exist.

cluster1::*> storage aggregate remove-stale-record -nodename node-01 -aggregate aggr0

Error: command failed: Failed to delete aggregate "aggr0". Reason: aggregate 'aggr0' cannot be destroyed because it is restricted. You will need to take it offline before destroying it.

 

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.