# umount /dev/sdb1
umount: /zxinbak: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
umount的时候失败, device is busy.
# fuser -m /dev/sdb1
/dev/sdb1: 7284c
# ps -ef|grep 7284
root 7284 6771 0 18:48 pts/1 00:00:00 -bash
root 21532 18235 0 19:13 pts/8 00:00:00 grep 7284
# kill -9 7284
# umount /dev/sdb1
如上
本文讨论了在Linux环境下使用umount命令时遇到设备被占用导致无法卸载的问题,通过fuser命令查找占用设备的进程,并使用kill命令终止该进程,最终成功卸载设备。
880

被折叠的 条评论
为什么被折叠?



