Umount解掛不了的解決方法

Umount解掛不了的解決方法

一:出現問題

在linux中卸載不了,出現這種報錯

[root@dbserver /]# umount /dev/sdb6
umount: /mnt: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

二:解決方法

我們處理方法是找到進程,然後殺死,然後在卸到掛載umount

fuser -m /dev/sdb6         
/dev/vdb: 3052c
[root@dbserver /]# ps aux |grep 3052
root 2218 0.0 0.0 163052 1648 ? Sl 10:30 0:00 gnome-keyring-daemon --start
root 3052 0.0 0.0 108328 1732 pts/1 Ss+ 11:12 0:00 -bash
[root@dbserver /]# kill -9 3052
[root@dbserver /]# umount /dev/spsdb6
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章