nfs:server is not responding, still trying

问题描述:我使用目标机挂在nfs后,读写较大的文件就会出现server is not responding, still trying问题,google了一下,有人是这么解决的,如下

*************************************************************************

在mini2440开发板上挂载主机上的nfs文件系统后传送较大文件时会出现下面的提示:

nfs:server is not responding, still trying
问题原因:
Mandag 27 november 2006 20:12 skrev Verner Kjrsgaard:
> Mandag 27 november 2006 19:33 skrev John P. New:
> > Verner,
> >
> > This is a problem with NFS and 2.6 kernels, fast server NICs and
> > comparatively slower client NICs. This will show up when the server has
> > a 1000Mb card and the client a 100Mb, or when the server has a 100Mb
> > card and the client a 10Mb.
> >
> > Essentially, you have to pass some options to the kernel on terminal
> > boot, and this varies depending on whether you are using etherboot or
> > PXE.
> >
> > See
> > http://wiki.ltsp.org/twiki/bin/view/Ltsp/NFS#NFS_Server_not_responding
> > for a deeper explanation of the problem and the cure.

大意是说具有较高的传送速率的NFS主机网卡和较低速率的目标机网卡之间不匹配,要解决此问题需要在挂载文件系统时添加额外的参数。

解决办法: 
1   当目标机启动后已经进入linux系统的情况下,使用以下mount命令:
mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 59.70.245.216:/home/lizhao/rootfs  /mnt/nfs
(即添加了intr rsize=1024 wsize=1024 参数,参数的具体意义见下面注释)
2   当目标机处在引导阶段向内核传递命令行参数时,使用以下参数:
console=ttySAC0 root=/dev/nfs nfsroot=59.70.245.216:/home/lizhao/rootfs,flags=intr,rsize=1024,wsize=1024ip=59.70.245.222:59.70.245.216:59.70.245.216:255.255.255.0:leao:eth0:off

参数解释: 
intr -- 当服务器宕机或者无法到达时,允许中断NFS请求。 nolock--禁用文件锁。 rsize = 8192 和 wsize=8192  -- 通过设定大的同时传输的数据块大小(bytes),以提高NFS读写的速度。改变这些值时要当心,一些旧的linux内核和网卡在大的块大小不能正常工作

nfs:server is not responding, still trying

时间: 2024-07-28 14:10:40

nfs:server is not responding, still trying的相关文章

tiny210 出现 nfs:server is not responding,still trying 原因与解决方案

#This line cannot be removed. by FriendlyARM(www.arm9.net) CheckOneButton=No Action = Install OS =Linux LCD-Mode = No LCD-Type = S70 LowFormat = No VerifyNandWrite = No CheckCRC32=No StatusType = Beeper | LED ################### Linux ###############

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.【转】

今天碰到了一个查询异常问题,上网查了一下,感谢原创和译者 如果你使用的数据库连接类是 the Data Access Application Blocks "SqlHelper" 或者 SqlClient Class , 你在执行一个很费时的SQL 操作时候,可能就会碰到下面的超时异常. --------------------------- ---------------------------Timeout expired.  The timeout period elapsed

Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

今天碰到了一个查询异常问题,上网查了一下,感谢原创和译者 如果你使用的数据库连接类是 the Data Access Application Blocks "SqlHelper" 或者 SqlClient Class , 你在执行一个很费时的SQL 操作时候,可能就会碰到下面的超时异常. --------------------------- ---------------------------Timeout expired.  The timeout period elapsed

远程 sshd提示:Server unexpectedly closed network connection

远程sshd提示: Server unexpectedly closed network connection 重启后服务器效果也一样,经过一段时间连接后,终于连上远程了.之后新建一个远程连接,发现还是提示: Server unexpectedly closed network connection 百度和谷歌搜了一会,修改后sshd_config,效果也一样. 之后看下 [[email protected] log]# tail -F /var/log/secure  //查看登录日志文件 发

Android-67-Tomcat启动出错:Server Tomcat v7.0 Server at localhost failed to start.

 错误:Server Tomcat v7.0 Server at localhost failed to start.如图: 唉!!!!图片上传不上去,悲哀啊!!!只能先写着错误提示语吧~~- 解决办法: 1.In Eclipse, Open the"Server" tab. 2.Double click on the "Tomcat6" entry to see the configuration. 3.Then click on the "Open

转:Server.MapPath相关

如果你从Page类继承的类中执行这条语句,才可以简单地使用 DataBase = Server.MapPath("data.mdb");否则写全命名空间:System.Web.HttpContext.Current.Server.MapPath(); 总注:Server.MapPath获得的路径都是服务器上的物理路径,也就是常说的绝对路径1.Server.MapPath("/")注:获得应用程序根目录所在的位置,如 C:\Inetpub\wwwroot\.2.Ser

Sybase ASE报错:server Error: 8242, Severity: 16, State: 1

昨天上午,同事反映某系统在执行存储过程的过程中报错了,报错的信息异常如下: 05:00000:00009:2014/06/09 15:45:30.34 server Error: 8242, Severity: 16, State: 1 05:00000:00009:2014/06/09 15:45:30.34 server The table 'USER_FILES' in database 'PRODB' is bound to metadata cache memory. Unbind t

【转】SVN问题:Server sent unexpected return value (403 Forbidden) in response to OPTIONS

此方法不必删除目录重新下载:针对于第一次成功checkout,一段时间后,update 报此 403错误,我找到了解决方法:即 使用switch 重新定位svn路径,解决这个问题.(附图)ps:能svn checkout 那么你的路径就是正确的,如果大小写错误,svn是不支持checkout.如果是无意中修改了svn路径,那也可以用switch重新定位一次路径,就可以解决.   如果权限出错,提示将不会是 request for  "--"附:有时候管理员会修改版本库的"基本

网站上传服务器出现:Server Error in '/' Application错误

本地网站上传服务器后出现以下错误: Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely