跳转到主内容

ONTAP中断期间的NVRAM用途

Views:
93
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

适用场景

  • ONTAP 9
  • Data ONTAP 8
  • Data ONTAP 7

问题解答

  • 如果写入过程中发生电源故障或其他中断、则文件系统一致性仍会保持不变、因为活动指针仍指向更改前的数据。
    • 中断的写入在下次启动时仍可在本地NVRAM中使用。
    • 系统会检查这些数据、找到这些数据后、这些数据会重置于本地内存缓冲区、并立即通过WAFL和RAID层进行重新处理、然后在下一个CP期间写入磁盘。
  • 下一个启动期间可能是恢复供电、更正硬件故障或在集群模式环境下启动(在配对节点上进行接管时启动)。
    • 由于一个节点的所有写入数据也会存储在配对控制器的NVRAM中、因此、在发生接管且关闭的节点以虚拟方式启动时、所有已确认的写入操作都可供该节点重放到其内存缓冲区、并通过WAFL和RAID层进行处理、然后写入磁盘。
    • 在这种集群模式环境中、当执行了恢复且初始节点启动时、它将在NVRAM中找到该节点关闭后的内容。
    • 但是、该节点不会将此日志重新显示到内存中并对其进行处理以写入磁盘、而是会意识到它已被接管、并且此数据已被处理。
    • 完成此操作后、NVRAM内容将被清除、因为数据已写入磁盘。
  • WAFL会尝试将可能同时访问的块放置在磁盘上靠近的位置。
    • 这是通过将多个写入请求缓冲到内存并将更改记录到NVRAM来实现的。
    • 经过一段时间间隔(通常为10秒)后、将根据缓冲区的内容创建RAID条带、计算奇偶校验、然后将这些条带转储到磁盘。
    • 如果在正常间隔到期之前缓冲区接近填满、则也会启动转储。

 

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.