CSI Driver for Unity:使用 NFS 通訊協定在 Unity 上建立小於 1.5 GB 的 PVC 時,持續性磁碟區要求 (PVC) 會顯示為擱置中狀態

Summary: 使用 NFS (網路檔案系統) 通訊協定在 Unity 上建立小於 1.5 GB 的 PVC 時,持續性磁碟區要求 (PVC) 會顯示為擱置中狀態。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

使用 NFS 通訊協定時,使用者無法在 Unity 上建立小於 1.5 GB 的 PVC,並出現下列訊息:

PVC 的說明顯示:
# 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)}]

PVC 顯示為擱置中:
# kubectl get pvc -n test
NAME    STATUS    VOLUME   CAPACITY   ACCESS MODES   STORAGECLASS   AGE
pvol0   Pending                                      unity-nfs      37m

CSI 控制器驅動程式記錄顯示:
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: 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

如說明文件中所述,陣列具有其限制:
注意:NFS 型磁碟區/pvc 所需的大小新增額外的 1.5 GB。這是因為 Unity 的陣列需求,陣列會使用此 1.5 GB 來儲存中繼資料。這使透過磁碟機的 NFS 通訊協定最小 PVC 大小設定為 1.5 GB,直接在陣列上建立時則為 3 GB。

Resolution

建立 PVC 時,大小的下限應為 1.5 GB。

Products

Dell EMC Unity
Article Properties
Article Number: 000186132
Article Type: Solution
Last Modified: 08 Apr 2022
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.