Skip to main content
NetApp Knowledge Base

Trident fails volume resize with "unsupported capacity range"

Views:
513
Visibility:
Public
Votes:
0
Category:
astra_trident
Specialty:
nas
Last Updated:

Applies to

Trident for Openshift/Kubernetes

Issue

The volume resize may produce the following error observed in the pvc description or Trident error logs

[root@rhel1 test]# kubectl describe pvc nasvolnew
Name:          nasvolnew
Namespace:     default
StorageClass:  basicnasnew
Status:        Bound
Volume:        pvc-c947eae5-3cbf-4356-b2c9-00baec838a17
Labels:        <none>
Annotations:   pv.kubernetes.io/bind-completed: yes
               pv.kubernetes.io/bound-by-controller: yes
               volume.beta.kubernetes.io/storage-provisioner: csi.trident.netapp.io
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      6Gi
Access Modes:  RWO
VolumeMode:    Filesystem
Used By:       naspodnew
Conditions:
  Type       Status  LastProbeTime                     LastTransitionTime                Reason  Message
  ----       ------  -----------------                 ------------------                ------  -------
  Resizing   True    Mon, 01 Jan 0001 00:00:00 +0000   Tue, 01 Mar 2022 13:20:57 +0000
Events:
  Type     Reason              Age                 From                                    Message
  ----     ------              ----                ----                                    -------
  Warning  ExternalExpanding   51s (x5 over 139m)  volume_expand                           Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
  Normal   Resizing            3s (x12 over 139m)  external-resizer csi.trident.netapp.io  External resizer is resizing volume pvc-c947eae5-3cbf-4356-b2c9-00baec838a17
  Warning  VolumeResizeFailed  3s (x8 over 51s)    external-resizer csi.trident.netapp.io  resize volume "pvc-c947eae5-3cbf-4356-b2c9-00baec838a17" by resizer "csi.trident.netapp.io" failed: rpc error: code = Unknown desc = unable to resize the volume: unsupported capacity range; requested size 7516192768 is less than existing volume size 7689220096

 

 

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.