Tidak dapat unmount partisi / device di linux – status busy

Mungkin suatu saat, ketika akan unmout partisi / device di linux akan keluar pesen kurang lebih kaya gini:

root@CyberCatZone:~# umount /media/Master
umount: /media/Master: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))

Pesan tersebut keluar karena masih ada file yang masih running. Coba check dengan perintah :

root@CyberCatZone:~# lsof | grep /media/Master

Jika memang ada file yang sedang running, contohnya :

lsof: WARNING: can’t stat() fuseblk file system /media/Master
Output information may be incomplete.
php       20708         zend  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)
php       20709         zend  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)
php       20710         zend  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)
php       20711         zend  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)
php       20712         zend  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)
php       20713         zend  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)
watchdog  20725         root  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)
lighttpd  20727         zend  cwd   unknown                                /media/Master/_Master/Programming/IDE PHP/Zend.Studio.7.0/Zend Server/ZendServer-5.3.0-linux-glibc23-i386 (stat: Transport endpoint is not connected)

sebelum di unmount, harus dimatikan dulu proses tersebut. Bisa menggunakan perintah “kill -9 [pid – proses id]”, misalnya untuk pid = 20708. Gunakan perintah :

root@CyberCatZone:~# kill -9 20708

Ulangi perintah diatas sampe semua proses dihentikan, setelah itu baru unmout akan berhasil tanpa error.

Perhatikan status user, kalo perintah-perintah diatas tidak mau dijalankan, coba gunakan super user (root).

*lsof => menampilkan data file yang masih running

*kill => menghentikan proses, option -9 (menghentikan dengan paksa, tanpa block)

2 thoughts on “Tidak dapat unmount partisi / device di linux – status busy

Leave a Reply

Your email address will not be published. Required fields are marked *