[root@localhost /]# mount -t nfs 192.168.1.202:/home/share /mnt
mount: RPC: Timed out
[root@localhost /]# cd /mnt/
[root@localhost mnt]# ls
cdrom floppy (注意:這里沒有nfs這個目錄?。?br />[root@localhost mnt]# mkdir nfs
[root@localhost mnt]# ls
cdrom floppy nfs
[root@localhost mnt]# cd /
[root@localhost /]# mount -t nfs 192.168.1.202:/home/share /mnt/nfs/
[root@localhost /]# cd /mnt/nfs/
[root@localhost nfs]# ls
hello linux-2.6.30
.............
我的NFS配置都沒有問題,但是還是出現RPC的問題
通過我的嘗試發現:
要掛載nfs格式的文件,就必須要掛載到nfs這個文件夾中。要不然就出現了mount: RPC: Timed out這樣的錯誤。
我嘗試掛載到別的目錄下,看看能不能掛,結果能掛
[root@localhost nfs]# cd /
[root@localhost /]# umount mnt/nfs/
[root@localhost /]# mount -t nfs 192.168.1.202:/home/share /mnt/cdrom/
[root@localhost /]# cd /mnt/cdrom/
[root@localhost cdrom]# ls
hello
linux-2.6.30
..................
這個說明nfs格式的文件不能直接掛到/mnt這個文件夾中?。ú唤獍。。。。。。。?/p>