Linux下NFS配置学习

环境:

client: 主机rac2,ip 192.168.0.6

server: 主机rac1,ip 192.168.0.5

1) 在客户端启动portmap和nfs服务,单起nfs进程是无法启动的。

[root@rac2 init.d]# ./nfs start

Starting NFS services: [ OK ]

Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused

rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).

[FAILED]

Starting NFS daemon:

[FAILED]

Starting NFS mountd: Cannot register service: RPC: Unable to receive; errno = Connection refused

mountd: unable to register (mountd, 1, udp).

[FAILED]

Starting RPC idmapd: [ OK ]



[root@rac2 init.d]# ps -ef|grep nfs

证明nfs没有启动。

[root@rac2 init.d]# /etc/init.d/portmap start

Starting portmap: [ OK ]

[root@rac2 init.d]# ps -ef|grep portmap

rpc 3198 1 0 02:39 ? 00:00:00 portmap

root 3202 2998 0 02:39 pts/0 00:00:00 grep portmap

[root@rac2 init.d]# /etc/init.d/nfs start

Starting NFS services: [ OK ]

Starting NFS quotas: [ OK ]

Starting NFS daemon: [ OK ]

Starting NFS mountd: [ OK ]

相关推荐