Chinaunix首页 | 论坛 | 博客
  • 博客访问: 536530
  • 博文数量: 28
  • 博客积分: 150
  • 博客等级: 入伍新兵
  • 技术积分: 429
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-25 12:07
个人简介

Cisco Certified Internetwork Expert(Routing and Switching) CCIE R&S 2101X, IBM Certified Advanced Technical Expert - Power Systems with AIX v2, Red Hat Certified Engineer RHCE 130-165-39X, Oracle Certified Master 10g

文章分类

全部博文(28)

文章存档

2018年(1)

2017年(2)

2016年(4)

2015年(8)

2014年(4)

2013年(2)

2011年(7)

我的朋友

分类: 系统运维

2011-05-12 23:34:00

========phanx.com========
Author:   phanx
Updated: 2011-5-12
转载请保留作者信息
=========================

当NFS Client 无法访问 NFS Server的适合,在Client上df操作等就会挂起。
这个适合需要将挂载的NFS卸载掉。在不知道挂载点的情况下,可以使用nfsstat -m 命令来查看。
 
  1. Linux:
  2. [root@localhost ~]# nfsstat -m
  3. /mnt/RHEL from 10.10.10.8:/mnt/sharevg/sharelv/RHEL
  4. Flags: rw,vers=3,rsize=1048576,wsize=1048576,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=10.10.10.8

 

然后使用umount -f /mnt/RHEL来卸载,如果不行就用umount -l /mnt/RHEL

 

  1. AIX:
  2. root@localhost:/ #nfsstat -m
  3. /mnt/share from /mnt/sharevg/sharelv/AIX:10.10.10.8
  4. Flags: vers=3,proto=tcp,auth=unix,hard,intr,dynamic,link,symlink,rsize=65536,wsize=65536,retrans=5
  5. All: srtt=0 (0ms), dev=0 (0ms), cur=0 (0ms)

AIX下,则需要使用 fuser -kxuc /xxxx 来停止所有访问挂载点的进程

然后在umount -f /xxxx 卸载文件。

阅读(14528) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~