跳转到主内容

Trident 无法使用 " 不支持的容量范围 " 调整卷大小

Views:
39
Visibility:
Public
Votes:
0
Category:
trident-kubernetes<a>2009039802</a>
Specialty:
nas
Last Updated:

适用场景

适用于 OpenShift/Kubernetes 的 Trident

问题描述

卷大小调整可能会在 PVC 问题描述 或 Trident 错误日志中出现以下错误

[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.