Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

CSI Driver for Unity: Persistent Volume Claim (PVC) shows in Pending state when creating a PVC smaller than 1.5 GB on Unity when using NFS protocol

Summary: Persistent Volume Claim (PVC) shows in Pending state when creating a PVC smaller than 1.5 GB on Unity when using (Network File System)NFS protocol.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

The user is unable to create a PVC smaller than 1.5 GB on Unity when using the NFS protocol with the following messages:

Describe on the PVC shows:
# kubectl describe pvc pvol0 -n test
...
Warning  ProvisioningFailed    35m                csi-unity.dellemc.com_unity-controller-66c9b748d7-8hxll_456d3759-46b6-42f5-88e0-75ff8036db4a  failed to provision volume with StorageClass "unity-nfs": rpc error: code = Unknown desc =  runid=170 Create Filesystem csi-b46e130f5f failed with error: [{The specified file system size is too small. (Error Code:0x6701401)}]

The PVC shows Pending:
# kubectl get pvc -n test
NAME    STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
pvol0   Pending                                      unity-nfs      37m

CSI Controller Driver logs show:
time="2021-05-04T18:05:04Z" level=debug arrayid=apm00180305385 runid=178 msg="Error in response. Method:POST URI:/api/types/storageResource/action/createFilesystem Error: [{The specified file system size is too small. (Error Code:0x6701401)}] JSON Error: [{The specified file system size is too small. (Error Code:0x6701401)}]" func="github.com/dell/gounity.(*Client).executeWithRetryAuthenticate()" file="dell/gounity/unityclient.go:113"
time="2021-05-04T18:05:04Z" level=error arrayid=apm00180305385 runid=178 msg="failed to invoke Unity REST API server" func="github.com/dell/gounity.(*Client).executeWithRetryAuthenticate()" file="dell/gounity/unityclient.go:127"
time="2021-05-04T18:05:04Z" level=debug arrayid=apm00180305385 runid=178 msg="Filesystem create response:<nil> Error:[{The specified file system size is too small. (Error Code:0x6701401)}]" func="github.com/dell/csi-unity/service.(*service).CreateVolume()" file="/go/src/csi-unity/service/controller.go:198"
time="2021-05-04T18:05:04Z" level=debug msg="/csi.v1.Controller/CreateVolume: REP 0178: rpc error: code = Unknown desc =  runid=178 Create Filesystem csi-b46e130f5f failed with error: [{The specified file system size is too small. (Error Code:0x6701401)}]"

Cause

As noted in the documentation, this is an array limitation:
Note: Additional 1.5 GB is added to the required size of NFS based volume/pvc. This is due to unity array requirement, which consumes this 1.5 GB for storing metadata. This makes minimum PVC size for NFS protocol via driver as 1.5 GB, which is 3 GB when created directly on the array.

Resolution

The PVC should be created with a minimum size of 1.5 GB.

Article Properties


Affected Product

CSI Driver for Unity

Product

Dell EMC Unity

Last Published Date

08 Apr 2022

Version

3

Article Type

Solution