sync) /nfs-2 *(rw,no_root_squash,no_all_squash,sync) /nfs-3 *(rw,no_root_squash,no_all_squash,sync) /nfs restart nfs-server showmount -e nfs-server-IP Export list for 192.168.1.169: /nfs-6 * /nfs-5 * /nfs - ReadWriteOnce persistentVolumeReclaimPolicy: Retain storageClassName: nfs nfs: path: /nfs
-N 3" # Turn off v4 protocol support #RPCNFSDARGS="-N 4" /*把这句话的#号去掉*/ NFS分为三个版本,即NFS-2 NFS-3 NFS -4,该配置文件默认关闭了这三个的NFS版本,我们只需要打开NFS-4即可。
- ReadWriteMany persistentVolumeReclaimPolicy: Retain storageClassName: nfs nfs: path: /nfs - ReadWriteMany persistentVolumeReclaimPolicy: Retain storageClassName: nfs nfs: path: /nfs