Remove mount display device is busy
This problem occurs when there is a process present on the current mount point
[Root@zabbix ~]# umount/dev/mapper/vg_zabbix-logvol02
umount:/var:device is busy.
(In some cases useful info about processes, use the
device are found by lsof (8) or fuser (1))
Solve:
Use the following name to view the processes running above the mount point and then stop, as follows:
[Root@zabbix ~]# fuser-m-v/dev/mapper/vg_zabbix-logvol02
USER PID ACCESS COMMAND
/dev/mapper/vg_ ZABBIX-LOGVOL02:
root 1534 f ... auditd
root 1556 f .... rsyslogd
root 2024 f .... crond
Fuser-m–k/dev/mapper/vg_zabbix-logvol02
Note: Above is the process of killing the mount point directly above using kill, it is recommended to use daemon to stop the process.
[Root@zabbix ~]#/etc/init.d/rsyslog stop
shutting down system logger: [ OK ]
[Root@zabbix ~]# Fuser-m-v/dev/mapper/vg_zabbix-logvol02
USER PID ACCESS COMMAND
/dev/mapper/vg_zabbix-logvol02:
Root 1534 f ... auditd
root 2024 f ... crond
[Root@zabbix ~]#/etc/init.d/crond Stop
stopping Crond: [ OK ]
[Root@zabbix ~]#/etc/init.d/auditd stop
stopping auditd: [ OK ]
[Root@zabbix ~]# fuser-m-v/dev/mapper/vg_zabbix-logvol0
cannot stat/dev/mapper/vg_zabbix-logvol0:no such file o R directory
cannot stat/dev/mapper/vg_zabbix-logvol0:no such file or directory
cannot stat/dev/mapper/vg_ Zabbix-logvol0:no such file or directory
Re-Uninstall
[Root@zabbix ~]# Umount/dev/mapper/vg_zabbix-logvol02
Reference Link: http://www.cnblogs.com/dkblog/archive/2012/07/18/2597192.html