- 论坛徽章:
- 0
|
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 |
|