Chinaunix首页 | 论坛 | 博客
  • 博客访问: 248673
  • 博文数量: 38
  • 博客积分: 2093
  • 博客等级: 大尉
  • 技术积分: 432
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-01 10:29
文章分类

全部博文(38)

文章存档

2011年(10)

2010年(28)

我的朋友

分类: LINUX

2010-05-06 16:00:53

#mount /dev/HSDM1/osd /mnt/hsdm/osd
#lvremove /dev/HSDM1/osd
can't remove open logical volume "osd"
很有可能该设备还在挂载
#umount /dev/HSDM1/osd
umount: /mnt/hsdm/osd: device is busy
这说明还有某个程序正在是用此目录,为了保证程序的运行,默认情况下umount不能卸载。但是umount又没有说究竟哪个程序在使用。
幸好有个程序叫fuser,fuser后加需要查的资源就可以知道有哪些进程正在使用了
如:
#fuser -m /mnt/hsdm/osd
/mnt/hsdm/osd 3332c
#kill -9 3332
#umount /mnt/hsdm/mnt
成功卸载
阅读(1470) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~