linux中U盘umonut时出现“Device is busy”的解决方法

问题:

#umount /dev/sda1

umount: /mnt/usb: device is busy

 

查找占用目录进程:

 

#lsof |grep /mnt/usb

bash 1971 root cwd DIR 8,1 16384 1 /mnt/usb/
bash 2342 root 3r DIR 8,1 16384 1 /mnt/usb/

 

杀掉进程:

 

#kill -9 1971

#kill -9 2342

 

卸载:

#umount /mnt/usb

posted @ 2015-04-23 17:50  Nicat  阅读(726)  评论(0编辑  收藏  举报