ubuntu安全移除挂载

取消挂载/home时出现umount: /home: device is busy,

    原因是因为有程序在使用/home目录,我们可以使用fuser查看那些程序的进程,

    然后杀掉就可以了。

    [root@localhost home]# fuser -m /home

    /home: 10278c 10279c 10280c 10281c 10282c 10295 10365 18222c

    命令:kill -9 pid

其他还有很多命令:fuser -m /home

 fuser -kvm /home 

umount -l /home 强行解除挂载

You May Also Like

About the Author: ice.zhai

发表回复

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