umount強制卸載不起作用,卸載光驅終極辦法---fuser
阿新 • • 發佈:2018-07-26
umount killed target 命令 進程 nod kill ces get 在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: /)
umount強制卸載不起作用,卸載光驅終極辦法---fuser