[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\u003cp\u003eThis page offers troubleshooting guidance for resolving issues when using Filestore with GKE.\u003c/p\u003e\n"],["\u003cp\u003eA common problem is the inability to access file shares from GKE clusters.\u003c/p\u003e\n"],["\u003cp\u003eAn "access denied" error can often be resolved by ensuring the PersistentVolume (PV) \u003ccode\u003espec.nfs.path\u003c/code\u003e and \u003ccode\u003espec.nfs.server\u003c/code\u003e values correctly match the file share name and Filestore instance IP address.\u003c/p\u003e\n"],["\u003cp\u003eAdditional troubleshooting resources for Kubernetes and GKE are available in their respective official guides.\u003c/p\u003e\n"]]],[],null,["# Troubleshoot file share access from GKE clusters\n\nThis page provides troubleshooting information to help address issues you might\nencounter while using Filestore with GKE.\n\nUnable to access file share from GKE clusters\n---------------------------------------------\n\nFor more troubleshooting information relating to Kubernetes or Google Kubernetes Engine, you\ncan also refer to the official\n[Kubernetes troubleshooting guide](https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/)\nand the\n[GKE troubleshooting guide](/kubernetes-engine/docs/troubleshooting).\n\n### Error: Output: mount.nfs: access denied by server while mounting x.x.x.x:/file-share-name\n\nMake sure that the values of the PV `spec.nfs.path` and `spec.nfs.server` match\nwith the name of the file share and the IP address of the Filestore\ninstance, respectively.\n\n**Example:**\n\nIf your file share is named `vol1` and the IP address of the\nFilestore instance is `10.0.0.2`, the PV `spec.nfs.path` and\n`spec.nfs.server` must match those values: \n\n apiVersion: v1\n kind: PersistentVolume\n metadata:\n name: fileserver\n spec:\n capacity:\n storage: 2T\n accessModes:\n - ReadWriteMany\n nfs:\n path: /vol1\n server: 10.0.0.2"]]