首页 > 其他分享 >nfs挂载的目录提示不存在,比如MountVolume.SetUp failed for volume "nfs-client-root" : mount failed: exit

nfs挂载的目录提示不存在,比如MountVolume.SetUp failed for volume "nfs-client-root" : mount failed: exit

时间:2022-12-14 15:22:27浏览次数:45  
标签:status 配置文件 failed exit 挂载 nfs

原因是修改了/etc/exports文件后,需要重新加载配置文件

image

如果新增了一行,挂载了另一个目录,保存配置文件后重启了nfs以为生效了,实际上没有生效

使用以下命令可以查询当前生效的配置

exportfs

重新加载配置文件

exportfs -r

标签:status,配置文件,failed,exit,挂载,nfs
From: https://www.cnblogs.com/bangbangzoutianya/p/16982271.html

相关文章