免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4256 | 回复: 1

NFS服务从来没见过的问题,求助 [复制链接]

论坛徽章:
0
发表于 2011-06-20 15:31 |显示全部楼层
A、B两台服务器,都为REDHAT5.2
A服务器为NFS服务端,B服务器为NFS客户端,防火墙都已关闭
export参数:(rw,async,no_wdelay,no_all_squash),后来加了(no_root_squash),用df -h也会同样出现NFS服务器死掉的问题(这是在客户端关闭portmap后出现)
B服务器挂载后,在A没有no_root_squash参数的时候,root用户使用cd、ls等命令都正常,但是用rm -fr file 命令就会死在那里。ctrl +c /z都没。此时NFS的服务端已经不能通过SSH远程。连接不通了。只能硬重启NFS服务器。日志贴如下:
Jun 19 08:46:35 machine kernel: nfsd: last server has exited
Jun 19 08:46:35 machine kernel: nfsd: unexporting all filesystems
Jun 19 08:46:35 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 09:06:38 machine kernel: nfsd: last server has exited
Jun 19 09:06:38 machine kernel: nfsd: unexporting all filesystems
Jun 19 09:06:38 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 09:08:14 machine kernel: nfsd: last server has exited
Jun 19 09:08:14 machine kernel: nfsd: unexporting all filesystems
Jun 19 09:08:14 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 09:53:45 machine kernel: nfsd: last server has exited
Jun 19 09:53:45 machine kernel: nfsd: unexporting all filesystems
Jun 19 09:53:45 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 10:19:29 machine kernel: nfsd: last server has exited
Jun 19 10:19:29 machine kernel: nfsd: unexporting all filesystems
Jun 19 10:20:19 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 11:04:31 machine kernel: nfsd: last server has exited
Jun 19 11:04:31 machine kernel: nfsd: unexporting all filesystems
Jun 19 11:06:56 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 11:28:19 machine kernel: nfsd: last server has exited
Jun 19 11:28:19 machine kernel: nfsd: unexporting all filesystems
Jun 19 11:28:19 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 11:32:06 machine kernel: nfsd: last server has exited
Jun 19 11:32:06 machine kernel: nfsd: unexporting all filesystems
Jun 19 11:32:18 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 11:34:11 machine kernel: nfsd: last server has exited
Jun 19 11:34:11 machine kernel: nfsd: unexporting all filesystems
Jun 19 11:35:14 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 11:44:59 machine kernel: nfsd: last server has exited
Jun 19 11:44:59 machine kernel: nfsd: unexporting all filesystems
Jun 19 11:44:59 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 12:17:18 machine kernel: nfsd: last server has exited
Jun 19 12:17:18 machine kernel: nfsd: unexporting all filesystems
Jun 19 12:18:17 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 12:42:58 machine kernel: nfsd: last server has exited
Jun 19 12:42:58 machine kernel: nfsd: unexporting all filesystems
Jun 19 12:43:48 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 13:34:40 machine kernel: nfsd: last server has exited
Jun 19 13:34:40 machine kernel: nfsd: unexporting all filesystems
Jun 19 13:43:47 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 14:37:55 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 14:37:55 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 15:28:47 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 15:28:47 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 16:44:07 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 16:44:07 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 17:16:14 machine kernel: nfsd: last server has exited
Jun 19 17:16:14 machine kernel: nfsd: unexporting all filesystems
Jun 19 17:16:14 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 17:22:42 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 17:22:42 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 17:41:44 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 17:41:44 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 17:55:48 machine kernel: nfsd: last server has exited
Jun 19 17:55:48 machine kernel: nfsd: unexporting all filesystems
Jun 19 17:55:48 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 17:56:45 machine kernel: nfsd: last server has exited
Jun 19 17:56:45 machine kernel: nfsd: unexporting all filesystems
Jun 19 17:57:45 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 17:57:49 machine kernel: nfsd: last server has exited
Jun 19 17:57:49 machine kernel: nfsd: unexporting all filesystems
Jun 19 17:57:49 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 18:21:46 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 18:21:46 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 18:22:21 machine kernel: nfsd: last server has exited
Jun 19 18:22:21 machine kernel: nfsd: unexporting all filesystems
Jun 19 18:23:42 machine nfsd[4305]: nfssvc: Setting version failed: errno 16 (Device or resource busy)
Jun 19 18:25:11 machine nfsd[4393]: nfssvc: Setting version failed: errno 16 (Device or resource busy)
Jun 19 18:25:11 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 18:40:23 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 18:40:23 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 19 19:15:42 machine kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jun 19 19:15:42 machine kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory

论坛徽章:
0
发表于 2011-06-20 17:09 |显示全部楼层
回复 1# haichen_123


这是在客户端关闭portmap后出现            关掉干嘛?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP