umount -R -f /data/nfs-test
-R 递归卸载
-f 强制
解决步骤:
- 查询/data/nfs-test的使用进程
- 杀死进程 再次卸载
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.youkuaiyun.com/wh211212/article/details/79753143
https://blog.youkuaiyun.com/atec2000/article/details/47416755?utm_source=blogxgwz6
https://www.cnblogs.com/saneri/p/5465718.html