全部 文章 问答 分享 共找到1个相关内容

[文章] 记录一下nfs pvc部署mysql的问题
报错如下:nfschown:changingownershipof'/var/lib/mysql/':Operationnotpermitted这是我在etc/exports里的配置:#输入以下内容:共享路径clientIP(rw,sync,no_subtree_check)/home/zhsxpvc10.10.10.0/24(rw,sync,no_subtree_check)修改成这样:#输入以下内容:共享路径clientIP(rw,sync,no_subtree_check)/home/zhsxpvc10.10.10.0/24(rw,sync,no_subtree_check,no_root_squash)然后exportfs-aexportfs-v然后我重新创建实例就可以了。
- 1