博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
卸载分区目录,target is busy解决方案
阅读量:3949 次
发布时间:2019-05-24

本文共 570 字,大约阅读时间需要 1 分钟。

卸载分区目录,出现target is busy

umount /home/data1/umount: /home/data1: target is busy.        (In some cases useful info about processes that use         the device is found by lsof(8) or fuser(1))

使用fuser命令

fuser  -cu /home/data1//home/data1:          3510c(root)
fuser  -ck /home/data1//home/data1:          3510c
umount /home/data1/

可以卸载了

关于fuser的介绍:

fuser 可以显示出当前哪个程序在使用磁盘上的某个文件、挂载点、或者网络端口,并给出程序进程的详细信息.
fuser只把PID输出到标准输出,其他的都输出到标准错误输出
查看那些程序使用tcp的80端口:

fuser -v -n tcp 80                     USER        PID ACCESS COMMAND80/tcp:              root      49498 F.... haproxy

转载地址:http://hthwi.baihongyu.com/

你可能感兴趣的文章
用python中htmlParser实现的spider(python spider)
查看>>
在线测速网址
查看>>
mysql中GROUP_CONCAT的应用
查看>>
研发人员的绩效考核
查看>>
Python 3 之多线程研究
查看>>
Python 3中的多线程文件下载类
查看>>
Python库之MySQLdb介绍
查看>>
Python3中利用Urllib进行表单数据提交(Get,Post)
查看>>
Python开发之扩展库的安装指南及Suds(Webservice)的使用简介
查看>>
软件项目管理一点分享
查看>>
iphone程序打包ipa格式
查看>>
Ios开发之Apns功能介绍(应用程序通知)及PHP/Python代码
查看>>
iphone开发的几个Apple官方中文教程地址
查看>>
Algorithms: Kruskal's algorithm and Prim's algorithm for Minimum-spanning-tree
查看>>
Algorithm : Dijkstra's algorithm and Bellmon-Ford Paths algorithm
查看>>
Algorithm: k-nearest neighbors and decison boundary(Cross Validation)
查看>>
Algorithm: Principle Component Analysis for High Dimension Reduction Data
查看>>
Naive Bayesian for Text Classification (MLE, Gaussian Naive Bayesian)
查看>>
Algorithm: Decision Tree, Entropy, Information Gain and Continues features
查看>>
FastDFS 架构分析
查看>>