centos 7 添加 nfs 开机启动失败解决方法

前端之家收集整理的这篇文章主要介绍了centos 7 添加 nfs 开机启动失败解决方法前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

centos 7 下将 nfs 服务设置为开机自动启动,systemctl enable nfs-idmapd.service,将提示如下错误@H_301_3@

Failed to execute operation: No such file or directory
@H_301_3@

解决方法@H_301_3@

/usr/lib/systemd/system/nfs-idmap.service 文件增加
[Install]
WantedBy=multi-user.target
/usr/lib/systemd/system/nfs-lock.service 文件增加
[Install]
WantedBy=nfs.target
@H_301_3@


@H_301_3@

参考:@H_301_3@

https://www.centos.org/forums/viewtopic.PHP?t=53896 @H_301_3@

猜你在找的CentOS相关文章