|
|

楼主 |
发表于 2007-4-9 09:22:59
|
显示全部楼层
大家好:
由于开发版限制:我现在只能使用nfs(可能2个月后就使用ssh了),我已经连续整了三天了,换了两台机器,都是不行。我是按照blfs上nfs-utils上作的。
1):服务能够正常启动
/etc/rc.d/init.d/nfs-server start
Starting NFS mountd... [ OK ]
Starting NFS nfsd... [ OK ]
Starting NFS statd... [ OK ]
Mounting nfsd virtual filesystem... [ OK ]
Exporting NFS Filesystems... [ OK ]
2):cat /etc/exports
/home/backup 192.168.2.*/255.255.255.0(rw,subtree_check,anonuid=99,anongid=99)
3):ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0A:EB:03:0B:72
inet addr:192.168.2.44 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12850 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1170333 (1.1 Mb) TX bytes:1260 (1.2 Kb)
Interrupt:16 Base address:0xbc00
lo Link encap ocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:204 errors:0 dropped:0 overruns:0 frame:0
TX packets:204 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15960 (15.5 Kb) TX bytes:15960 (15.5 Kb)
4)ping 自己
ping 192.168.2.44
PING 192.168.2.44 (192.168.2.44): 56 data bytes
64 bytes from 192.168.2.44: icmp_seq=0 ttl=64 time=0.050 ms
64 bytes from 192.168.2.44: icmp_seq=1 ttl=64 time=0.020 ms
64 bytes from 192.168.2.44: icmp_seq=2 ttl=64 time=0.017 ms
--- 192.168.2.44 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.017/0.029/0.050/0.015 ms
5)mount自己:
mount -t nfs 192.168.2.44:/home/backup /mnt
mount: RPC: Timed out
#===============================
nfs服务总是不能工作,内核中我也加入了对nfs的支持。
有没有那位兄弟用过nfs,我是不是还需要其他的守护程序运行,如果需要我可以ps -aux 一下。
谢谢! |
|