求教nfs的问题,为什么mount命令总是停着不动?

由 arkira 在 11-13-2003 21:07 发表:

求教nfs的问题,为什么mount命令总是停着不动?

系统是RH9.0 内核为 自己编译的 2.4.20

我的/etc/hosts.deny portmap: All

/etc/host.allow 10.126.12.253/255.255.255.0

/etc/exports /home/qh/pub/ 10.126.12.253(ro,sync)

启动 portmap /etc/rc.d/init.d/portmap restart

nfs /etc/rc.d/init.d/nfs start

/usr/sbin/rpcinfo -p 显示:

程序 版本 协议 端口

100000 2 tcp 111 portmapper

100000 2 udp 111 portmapper

100011 1 udp 684 rquotad

100011 2 udp 684 rquotad

100011 1 tcp 687 rquotad

100011 2 tcp 687 rquotad

100003 2 udp 2049 nfs

100021 1 udp 32818 nlockmgr

100021 3 udp 32818 nlockmgr

100005 1 udp 32819 mountd

100005 1 tcp 33121 mountd

100005 2 udp 32819 mountd

100005 2 tcp 33121 mountd

/usr/sbin/showmount --exports 显示:

Export list for Galaxy:

/home/qh/pub 10.126.12.253

另一台机器上设置了ifconfig eth0 10.126.12.253 netmask 255.255.255.0 up

可以ping通主机,主机可以打开从机的网页。

然后从机启动 portmap

再运行 /> mount 10.126.12

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus