跳转到主内容

为什么要将磁盘从外部磁盘架自动复制到内部磁盘架

Views:
46
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
hw
Last Updated:

适用场景

  • ONTAP 9
  • 具有内部存储的系统:
    • AF-A200
    • AF-A220
    • AF-A320
    • FAS25xx
    • FAS26xx
    • FAS27xx
    • FAS28xx

问题解答

  • 某些平台同时具有内部磁盘和外部磁盘。
  • 如果内部磁盘发生故障、并且内部磁盘架中没有可用的备用磁盘、则ONTAP将使用外部(未分区)磁盘进行重建。
  • 一旦内部磁盘可用作备用磁盘(例如、在更换故障磁盘后)、ONTAP就会自动将外部磁盘的内容复制到内部备用磁盘。
  • 如果外部磁盘的所有分区都是备用磁盘、则该磁盘将自动取消分区。

示例:

  • 内部磁盘0a.00.11发生故障、已替换为外部备用磁盘0b.01.1。
  • 在故障磁盘0a.00.11被新磁盘物理替换后、ONTAP将开始将数据从外部磁盘0b.01.1复制到新的内部磁盘0a.00.11。
  • sysconfig -r下面的""输出所示:

Aggregate aggr0 (online, raid_dp) (block checksums)

Plex /aggr0/plex0 (online, normal, active, pool0)
  RAID group /aggr0/plex0/rg0 (normal, block checksums)
  RAID Disk Device      HA  SHELF BAY CHAN Pool Type  RPM  Used (MB/blks)   Phys (MB/blks)
  --------- ------      ------------- ---- ---- ---- ----- --------------   --------------
   dparity 0a.00.1P2     0a   0   1   SA:A   0   SAS 10000 55176/113000448   55184/113016832
   ...
   data   0b.01.1P2     0b   1   1   SA:B   0   SAS 10000 55176/113000448   55184/113016832(replacing,copy in progress)
   -> copy   0a.00.11P2    0a   0   11  SA:A   0   SAS 15000 55176/113000448   55184/113016832 (copy 3% completed)
   ...
   data   0a.00.19P2    0a   0   19  SA:A   0   SAS 10000 55176/113000448   55184/113016832

  • 这是预期行为、如果内部存储中有备用磁盘、则存储池分区会自动从外部存储复制到内部存储。
  • 要修改默认行为并阻止从外部存储自动复制到内部存储、可以运行以下命令: 

::> options raid.lm.disk.copyback.enable

::> options raid.lm.disk.copyback.enable off

追加信息

如果新聚合是使用外部和内部 磁盘架创建的、并且内部磁盘架上有一些备用磁盘、则还可以按上述方式复制回。

 

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.