rsize and wsize not reflected in the mount option for NFS PersistentVolume
Applies to
- Trident
- Kubernetes
- ONTAP 9
- NFS
- Specified rsize or wsize in
mountOptions
of StorageClass ornfsMountOptions
of Trident backend
Issue
rsize and wsize specified in the configuration of StorageClass or Trident backend are not reflected in the mount option for NFS PersistentVolume.
Example:
[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)