其他教程

其他教程

Products

当前位置:首页 > 其他教程 >

umount卸载数据盘的时候提示umount: /data: target is busy

GG网络技术分享 2025-03-18 16:16 0


挂载的云硬盘/数据盘卸载或更换路径的时候,提示:

umount: /data: target is busy.

(In some cases useful info about processes that use

the device is found by lsof(8) or fuser(1))

卸载磁盘:

$ umount /data

报错如下:

umount: /data: target is busy.

(In some cases useful info about processes that use

the device is found by lsof(8) or fuser(1))

则说明磁盘有程序在占用,需要检查占用的程序并关闭,可以直接使用如下命令查看:

 

fuser -m /data 

/data: 9265m 9276m 22762 22763 22764 22765 22766 22767

下边的都是进程号,再加上 -k参数可以直接杀掉:

fuser -k -m /data

/data: 9265m 9276m 22762 22763 22764 22765 22766 22767
杀掉之后就能正常卸载了。

标签:

提交需求或反馈

Demand feedback