天嵌 ARM开发社区

 找回密码
 注册
查看: 4039|回复: 11

求助:关于Linux的挂载使用网络文件系统

[复制链接]
pmboy 发表于 2009-4-30 16:54:04 | 显示全部楼层 |阅读模式
[root@EmbedSky /]# mount -t nfs 192.168.1.10:/opt/EmbedSky/root_nfs /mnt/ -o nol
ock
mount: RPC: Unable to receive; errno = No route to host
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.1.10:/opt/EmbedSky/root_nfs on /mnt/ failed: Bad file de
scriptor
[root@EmbedSky /]#

是啥意思?
fight 发表于 2009-4-30 19:37:24 | 显示全部楼层
你能ping通主机吗
 楼主| pmboy 发表于 2009-5-1 07:49:14 | 显示全部楼层
咋ping同主机?
 楼主| pmboy 发表于 2009-5-1 08:35:41 | 显示全部楼层
64 bytes from 192.168.1.6: icmp_seq=182 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=183 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=184 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=185 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=186 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=187 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=188 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=189 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=190 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=191 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=192 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=193 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=194 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=195 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=196 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=197 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=198 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=199 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=200 ttl=64 time=0.9 ms
64 bytes from 192.168.1.6: icmp_seq=201 ttl=64 time=0.9 ms


是这样的不?
fight 发表于 2009-5-2 07:40:48 | 显示全部楼层
你是ping通了,但是两个机器之间吗?如果板子不改,地址是192.168.1.6,你是从主机ping的吗?
帖子中提示的问题就是不通,防火墙关了吗?
 楼主| pmboy 发表于 2009-5-2 13:48:35 | 显示全部楼层
我这是在超级终端进行的,从主机ping实在cmd下不?但提示超时???
 楼主| pmboy 发表于 2009-5-2 13:49:21 | 显示全部楼层
可以告述我你的qq不?
亚瑟王 发表于 2009-5-4 10:40:50 | 显示全部楼层
你的PC的Linux的IP是多少?在终端使用ifconfig查看
 楼主| pmboy 发表于 2009-5-4 14:03:03 | 显示全部楼层
eth0    Link encap:Ethernet  HWaddr 00:0C:29:40:7B:E6
            inet addr:192.168.1.0   Bcast:192.168.1.255  Mask:255.255.255.255.0
 楼主| pmboy 发表于 2009-5-4 14:05:00 | 显示全部楼层
是不是的要把pc机的Linux ip改成192.168.1.10啊?
198944lijing 发表于 2010-1-23 21:05:05 | 显示全部楼层
我也有这个问题 现象和这个差不多!希望大师能帮帮我!我qq654224414
198944lijing 发表于 2010-1-23 22:13:09 | 显示全部楼层
呵呵!我解决了!
(假设你板子的ip是192.168.0.11;pc机上ip是192.168.0.22)
首先在pc机上设置一下nfs共享服务主机栏填上板子的ip同时填上共享的目录!
其次在板子上输入mount -o nolock 192.168.0.11:/ /mnt/
挂载成功!>_<
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-6-17 19:19 , Processed in 1.062500 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表