跳转到主内容

Trident 后端选项"snapshotReserve"创建的 ONTAP 卷比预期的要大

Views:
43
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

适用于

Astra Trident 21.07 及更高版本

问题

  • 在定义 ONTAP Trident 后端以提供具有快照功能的 PVC,或卷将运行基于 ONTAP 的快照时,可以在后端的 defaults 部分为每个 PVC 设置 snapshotReserve
  • 当请求某个特定大小的 PVC 时,如果将 snapshotReserve 百分比加到所请求的 PVC 大小上,分配给快照使用的空间量(因此总卷大小)看起来会比预期的更大 [总卷大小 = (PVC 请求大小) * (1 + (snapshotReserve 百分比) / 100)]
  • 下面是基于在 ontap-nas backend 中指定不同 snapshotReserve 百分比时,ONTAP 中为指定 1GB 卷的 PVC 所产生的卷大小示例 [无法设置 snapshotReserve 为 100%(#DIV/0)]:
 

PVC
大小 (GB)


PVC
snapshotReserve %
百分比

ONTAP
快照保留可用 (GB) 

ONTAP
总卷大小(GB)
    1     10 0.11 1.11
1 20 0.25 1.25
1 30 0.43 1.43
1 40 0.67 1.67
1 50 1 2
1 60 1.5 2.5
1 70 2.33 3.33
1 80 4 5
1 90 9 10
1 100 #DIV/0! #DIV/0!

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.