在CentOS7 取消挂载点 找不到fuser命令 umount.nfs4 device is busy

umount -R -f /data/nfs-test

-R 递归卸载
-f   强制

解决步骤:

  1.  查询/data/nfs-test的使用进程
  2.  杀死进程 再次卸载

1 查看进程

fuser -m -v /data/nfs-test


 

解决办法:
    安装模块    

    yum install -y psmisc
 
    安装完成后再次执行

     fuser -m -v /data/

2:杀死进程

     kill -9 2958

3: 再次卸载

umount -R -f /data/nfs-test

参考:

https://blog.csdn.net/wh211212/article/details/79753143

https://blog.csdn.net/atec2000/article/details/47416755?utm_source=blogxgwz6

https://www.cnblogs.com/saneri/p/5465718.html

发布了157 篇原创文章 · 获赞 85 · 访问量 34万+

猜你喜欢

转载自blog.csdn.net/Areigninhell/article/details/102952943