首页 → Linux教程
背景:
阅读新闻
Linux umount的device is busy问题
[日期:2012-12-25]来源:Linux社区作者:myiaas[字体:]
现象:
[root@dbserver ~]# df -h文件系统 容量 已用 可用 已用%% 挂载点/dev/vda1 9.9G 3.9G 5.6G 41% /tmpfs 3.9G 100K 3.9G 1% /dev/shm/dev/sr0 368K 368K 0 100% /media/CDROM/dev/vdb 197G 5.9G 181G 4% /mnt
[root@dbserver /]# umount /dev/vdbumount: /mnt: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1))
原因:
其他进程可能在使用/mnt目录。
解决办法:
关闭使用该目录的进程,然后再umount。
[root@dbserver /]# fuser -m /dev/vdb/dev/vdb: 3052c
[root@dbserver /]# ps aux |grep 3052root 2218 0.0 0.0 163052 1648 ? Sl 10:30 0:00 gnome-keyring-daemon –startroot 3052 0.0 0.0 108328 1732 pts/1 Ss+ 11:12 0:00 -bash
root 3448 0.0 0.0 6384 708 pts/5 S+ 12:59 0:00 grep 3052
[root@dbserver /]# kill -9 3052[root@dbserver /]# ps aux |grep 3052root 2218 0.0 0.0 163052 1648 ? Sl 10:30 0:00 gnome-keyring-daemon –startroot 3453 0.0 0.0 6384 704 pts/5 S+ 13:00 0:00 grep 3052[root@dbserver /]#
[root@dbserver /]# umount /dev/vdb[root@dbserver /]# df -hFilesystem Size Used Avail Use% Mounted on/dev/vda1 9.9G 1.4G 8.0G 15% /tmpfs 3.9G 100K 3.9G 1% /dev/shm/dev/sr0 368K 368K 0 100% /media/CDROM
[root@dbserver /]#
0
CentOS 6.3安装OpenNebula3.6时gem安装问题
CentOS ext4 磁盘分区 格式化 挂载
相关资讯 Linux基础学习 Linux umount device is busy
图片资讯
Linux高速缓存概述
Linux之ELF魔数解析
本文评论 查看全部评论 (0)
评论声明
最新资讯
本周热门
Linux公社简介 – 广告服务 – 网站地图 – 帮助信息 – 联系我们本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,,也不构成任何建议。Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号
不求与人相比,但求超越自己,要哭就哭出激动的泪水,要笑就笑出成长的性格。