跳转到主内容

ONTAP 中断期间的NVRAM用途

Views:
25
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
perf
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.