跳转到主内容

rsize 和 wsize 未反映在 NFS PersistentVolume 的挂载选项中

Views:
21
Visibility:
Public
Votes:
0
Category:
astra_trident<a>用于翻译</a>
Specialty:
snapx
Last Updated:

适用场景

  • 三叉
  • Kubernetes
  • ONTAP 9
  • NFS
  • mountOptions 中为 StorageClass 或nfsMountOptions Trident 后端指定了 rsize 或 wsize

问题描述

在 StorageClass 或 Trident 后端配置中指定的 rsize 和 wsize 不会反映在 NFS PersistentVolume 的挂载选项中。

示例:

[root@rhel3 setup]# tridentctl get backend BackendForNAS  -o yaml -n trident | grep nfsMountOptions
   nfsMountOptions: -o nfsvers=4.1,rsize=1048576,wsize=1048576
[root@rhel3 setup]#  kubectl exec --stdin --tty pvpod -- /bin/sh
/ # mount | grep trident_pvc
192.168.0.132:/trident_pvc_6e04c629_cc44_4905_88c8_ead3a78c9c93 on /data type nfs4 (rw,relatime,vers=4.1,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.0.62,local_lock=none,addr=192.168.0.132)

 

 

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.