最近学着弄NFS服务器,Fedora16的,但是一直nfs.service启动不了,下面是个人认为的需要开启的服务,想请各位指点下
#rpm -qa |grep nfs-utils
nfs-utils-1.2.5-3.fc16.i686
#rpcinfo
program version netid address service owner
100000 4 tcp6 ::.0.111 portmapper superuser
100000 3 tcp6 ::.0.111 portmapper superuser
100000 4 udp6 ::.0.111 portmapper superuser
100000 3 udp6 ::.0.111 portmapper superuser
100000 4 tcp 0.0.0.0.0.111 portmapper superuser
100000 3 tcp 0.0.0.0.0.111 portmapper superuser
100000 2 tcp 0.0.0.0.0.111 portmapper superuser
100000 4 udp 0.0.0.0.0.111 portmapper superuser
100000 3 udp 0.0.0.0.0.111 portmapper superuser
100000 2 udp 0.0.0.0.0.111 portmapper superuser
100000 4 local /var/run/rpcbind.sock portmapper superuser
100000 3 local /var/run/rpcbind.sock portmapper superuser
100024 1 udp 0.0.0.0.134.247 status 29
100024 1 tcp 0.0.0.0.185.16 status 29
100024 1 udp6 ::.166.64 status 29
100024 1 tcp6 ::.155.216 status 29
按道理所需软件有了,portmapper 也开启了,执行 systemctl restart nfs.service的时候显示
Failed to issue method call: Unit nfs.service failed to load: No such file or directory. See system logs and 'systemctl status nfs.service' for details.
/etc/init.d/目录下也没有nts
是缺少什么还是Fedora16用其他代替nfs的?
想请教各位
zhoutingting 于 2011-12-12 21:21:16发表:
systemctl enable nfs-server.service这条命令应该可以的|!
RaymondJade 于 2011-12-12 18:23:33发表:
2# alick
谢谢了,确实换了名字,昨天好不容易搜出来一英文的
systemctl enable nfsd-service (to enable nfs server at system boot)
systemctl start nfsd-service (to start the nfs server)
还是很感谢版主
alick 于 2011-12-12 00:02:18发表:
好像换名字了。
试试root身份执行:[code]systemctl enable nfs-server.service[/code]