Skip to main content

Coming soon...New Support-Specific categorization of Knowledge Articles in the NetApp Knowledge Base site to improve navigation, searchability and your self-service journey.

NetApp Knowledge Base

Creating a volume snapshot with Trident errors on either the snapshot or restore size

Views:
181
Visibility:
Public
Votes:
1
Category:
astra_trident
Specialty:
snapx
Last Updated:

Applies to

Trident for Kubernetes and Openshift 21.07.0 and 21.07.1

Issue

On a PV using an ontap-nas backend with a snapshot reserve set, creating a Snapshot from Kubernetes/Openshift causes the following error:
 
In version 21.07.0:
csi.trident.netapp.io_trident-csi-<UUID> failed to provision volume with StorageClass "storage-class-nas-snap-reserve":
error getting handle for DataSource Type VolumeSnapshot by Name <SNAP_NAME>:
requested volume size 10737418240 is less than the size 17895698432 for the source snapshot <SNAP_NAME>
 
In version 21.07.1:
Failed to check and update snapshot content: error updating status for volume snapshot content snapcontent-<UUID>:
snapshot controller failed to update snapcontent-<UUID> on API server:
VolumeSnapshotContent.snapshot.storage.k8s.io "snapcontent-<UUID>" is invalid: status.restoreSize: Invalid value: -1744896:
status.restoreSize in body should be greater than or equal to 0

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

Scan to view the article on your device