umount nfs device is busy

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

umount nfs device is busy

文章 yehlu »

http://cqfish.blog.51cto.com/622299/166287

强制 umount nfs文件系统
root@ubuntu:/# umount /app/nfs/
umount.nfs: /app/nfs: device is busy
umount.nfs: /app/nfs: device is busy
提示文件系统设置busy
root@ubuntu:/# fuser -km /app/nfs/ 先使用这条命令
/data/nfs/: 8119c
root@ubuntu:/# umount /app/nfs/ 在umount 就可以了
root@ubuntu:/#

也可使用 umount -f /app/nfs

[root@dzxt ~]# fuser
usage: fuser [ -a | -s ] [ -n space ] [ -signal ] [ -kimuv ] name ...
[ - ] [ -n space ] [ -signal ] [ -kimuv ] name ...
fuser -l
fuser -V
-a display unused files too
-k kill processes accessing that file
-i ask before killing (ignored without -k)
-l list signal names
-m mounted FS
-n space search in the specified name space (file, udp, or tcp)
-s silent operation
-signal send signal instead of SIGKILL
-u display user ids
-v verbose output
-V display version information
-4 search IPv4 sockets only
-6 search IPv6 sockets only
- reset options
回覆文章

回到「Linux」