umount  linux filesystem 出現 target is busy 訊息
root@lab01:~# umount /mnt/usb
umount: /mnt/usb: target is busy.

使用 fuser 檢查,是哪個processes 占用
root@lab01:~# fuser -m /mnt/usb
-bash: fuser: command not found

如果找不到 fuser , 則安裝 psmisc 套件
root@lab01:~# apt install psmisc

查詢占用程式
root@lab01:~# fuser -m /mnt/usb
/mnt/usb:            151982c

root@lab01:~# ps uax | grep 151982
user1  151982  0.0  0.1   8164  5032 pts/1    Ss   May14   0:00 -bash

中止 processes
root@lab01:~# kill  151982

如果沒有辦法中止,加上 -9 參數
root@lab01:~# kill -9 151982
 

文章標籤
linux
全站熱搜
創作者介紹
創作者 helloworld 的頭像
helloworld

Hello World

helloworld 發表在 痞客邦 留言(0) 人氣()