明明設備沒有任何人在操做,卻沒法使用umount正常卸載 進程
# umount /dev/sdd1 方法
umount: /TomcatLog: device is busy.the device is found by lsof(8) or fuser(1)) vi
umount -f 強制卸載也是無能爲力 process
[root@gj2 ~]# umount -f /TomcatLogumount2: Device or resource busy sse
解決方法: cas
# fuser -cu /TomcatLog/
/TomcatLog/: 9590c(root) ab
# fuser -ck /TomcatLog/
# umount /TomcatLog
能夠正常卸載了。
說明:
-c表示顯示全部掛載該設備的進程;
-u表示顯示正在操做該設備的用戶名;
-k表示殺死全部訪問該設備的進程(注意:這將殺死訪問該設備的進程,若是有其餘設備也在用這個進程,記得卸載後重啓該服務進程避免影響正常業務);