Linux:强制umount挂载点

#正常尝试卸载,提示设备忙

[root@localhost /]# umount /mnt/

#使用正常的强制卸载,仍然是设备忙

[root@localhost /]# umount -f /mnt/

.

#解决方法

#使用fuser命令,先确认有那些进程需要杀掉

[root@localhost /]# fuser -cu /mnt

/mnt: 15060c(root)

#其次向进程发出SIGKILL信号

[root@localhost /]# fuser -ck /mnt

/mnt: 15060c

#确认卸载成功

 [root@localhost /]# umount /mnt/

.

.

.

Comments

No comments yet. Why don’t you start the discussion?

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注