LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 755|回复: 2

soft mount....help!!!!

[复制链接]
发表于 2009-9-8 18:09:34 | 显示全部楼层 |阅读模式
I used suse v10 sp2 linux. I encountered a strange problem and need your kind help.
mount -o rw,soft,timeo=10 192.168.56.220(server_ip):/suse2 /nfs(local mount point)
When I want to cp a big file from server to local and simultaneouslystop the nfsserver service of the server. The cp command is justhanging(ctrl+c no use!).And after more than 10 seconds, the cp commandwas still hanging. I used soft mount, but why it is still hanging ? Itwas said in the book that the system should give some wrong informationlike input/output error and then stopped working.
Please help me!
发表于 2009-9-8 22:15:07 | 显示全部楼层
what's happen while cp a tiny file?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-9-9 09:23:51 | 显示全部楼层
楼上好:
我的实验目的是,在复制一个文件时,突然服务器down了,然后根据mount -o rw,soft,timeo=10 192.168.56.220(server_ip):/suse2 /nfs(local mount point)这条命令,应该在10秒内会出现报错,然后自动断开nfs挂载,但是没有成功,一直处于D状态,所以不知道该怎么办。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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