运行
ytj@ubuntu:~$ service nfs status
报错:
● nfs.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
解决方法:
ubuntu 10.0开启配置nfs 服务service nfs start时出现:
Failed to start nfs.service: Unit nfs.service not found.
原因是ubuntu 10.0以上的版本取消了service nfs start。
改成了
sudo service nfs-server start
这样就完成启动了。
在执行
sudo service nfs-server status
就可以看到