在Centos7.2系统下卸载光驱,用强制卸载不起作用
[root@linux-node1 ~]# umount -f /mnt/
umount: /mnt: target is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
使用fuser命令,先确认有那些进程需要杀掉
[root@linux-node1 ~]# fuser -cu /mnt
/mnt: 15060c(root)
其次向进程发出SIGKILL信号
[root@linux-node1 ~]# fuser -ck /mnt
/mnt: 15060c
确认
[root@linux-node1 ~]# fuser -c /mnt
[1]+ Killed dd if=1g of=/dev/null bs=1M (wd: /mnt)
(wd now: /)
转载于:https://blog.51cto.com/520527/2150581