Skip to main content
NetApp Knowledge Base

Trident backend option 'snapshotReserve' creates larger ONTAP volumes than expected

Views:
239
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:
11/22/2023, 5:00:28 PM

Applies to

Astra Trident 21.07 and higher

Issue

  • When defining an ONTAP Trident backend to provide PVCs that also have snapshot capability, or where the volumes will run ONTAP based snapshots, a snapshotReserve can be set for every PVC under the defaults section of the backend.
  • When a PVC is requested with a certain size, the amount of space assigned to snapshot usage (and therefore total volume size) appears to be larger than expected if adding the snapshotReserve percentage to the requested PVC size [Total volume size = (PVC requested size) * (1 + (snapshotReserve percentage) / 100)]
  • Below is an example of the resulting volume size in ONTAP for a PVC specifying a 1GB volume based on different snapshotReserve percentages specified in the ontap-nas backend [setting a snapshotReserve of 100% is not possible (#DIV/0)]:
 

PVC
Size (GB)


PVC
snapshotReserve %
Percentage

ONTAP
snapshot-reserve-available (GB) 

ONTAP
Total Volume Size(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.