数码资讯
centos 7 添加 nfs 开机启动失败解决方法
选购提示
关注价格、性能、续航、售后和真实使用场景,理性比较后再下单。
centos 7 下将 nfs 服务设置为开机自动启动,systemctl enable nfs-idmapd.service,将提示如下错误:
Failed to execute operation: No such file or directory
解决方法:
/usr/lib/systemd/system/nfs-idmap.service 文件中增加
[Install]
WantedBy=multi-user.target
/usr/lib/systemd/system/nfs-lock.service 文件中增加
[Install]
WantedBy=nfs.target
参考:
https://www.centos.org/forums/viewtopic.php?t=53896
声明:本文内容用于数码产品信息整理与选购参考,具体价格、库存、售后政策以官方渠道和电商页面实时信息为准。