Linux如何卸载挂载文件
来源:互联网 发布:网络连接错误代码720 编辑:程序博客网 时间:2024/05/17 23:27
在我们进行远程文件操作的时候,我们经常会出现文件服务出现卸载掉哦情况。例如
umount /u03
umount: /mnt/net1: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
这种问题解决方案:
一、查找使用这个文件的进程和命令,具体的操作代码
umount: /u03: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
[root@storedb ~]# lsof |grep /u03
bash 2413 root cwd DIR 8,17 4096 3301377 /u03/stage2
二、然后执行ps命令可以查找执行此进程的命令
[root@storedb ~]# ps -ef |grep 2413
root 2413 2329 0 Aug02 tty1 00:00:00 -bash
root 28657 28622 0 17:17 pts/2 00:00:00 grep 2413
三、强行结束无关进程
[root@localhost ~]# kill -9 2413
四、然后卸载相关挂载
[root@localhost ~]# umount /u03
五、然后可以在功过mount命令进行查看。
- Linux如何卸载挂载文件
- Linux如何卸载挂载文件
- Linux如何卸载挂载文件
- Linux如何卸载挂载文件
- Linux卸载挂载文件
- Linux如何卸载正在执行的挂载文件
- linux挂载文件
- Linux 挂载文件系统
- Linux挂载文件系统
- Linux 挂载文件系统
- Linux挂载文件系统
- Linux 挂载文件系统
- linux挂载文件系统
- linux下挂载文件系统
- linux 下挂载文件系统
- linux下创建挂载文件
- Linux创建和挂载文件系统
- Linux mount挂载文件系统磁盘分区
- 自学编程的——“3遍读书法”
- 1004 Financial Management
- 自定义Launcher设为默认应用
- Mac下获取Cocos Studio中的UI
- centos6.5安装wine
- Linux如何卸载挂载文件
- 《一块都不能倒》小清新风格的经典叠楼房游戏
- PythonOpenCV:MLP用于最近邻搜索
- 字符编码
- window.open各参数以及window.各种事件
- 从hello world开始
- Elasticsearch的路由(Routing)特性
- GDB一些常用功能
- element.style覆盖了我的样式!!