umount 时出现的 “Device is busy”

参考链接:http://www.jb51.net/os/RedHat/1051.html

umount /home

umount: /home: device is busy.   #显示磁盘忙碌

(In some cases useful info about processes that use

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

fuser -m -v /home   #查看那个进程在使用硬盘

USER        PID ACCESS COMMAND

/home:               root     kernel mount /home

root      24135 ..c.. bash

kill -9 24135

umount /home     #卸载成功

时间: 2024-10-10 20:08:18

umount 时出现的 “Device is busy”的相关文章

umount 时出现的 "Device is busy"问题

linux下umount时出现错误: [[email protected] ~]# umount /home/ umount: /home: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) 解决方法:1.可以显示出当前哪个程序在使用磁盘上的某个文件.挂载点.甚至网络端口,并给出程序进程的详细信息.2.假设无法卸载的设备为

取消挂载 umount 时出现的 “Device is busy”

假设无法卸载的设备为 /media/USB,运行下列命令即可: $ fuser -m -v /media/USB/                                    用户     进程号 权限   命令 /media/BAK/:         galeki      335    ..c..  gqview -m 参数表明指定的路径是一个挂载点显示所有使用指定文件系统的进程,后面可以跟挂载点,或是dev设备 ( Thanks lisir :),-v 参数给出详细的输出,可以

umount报错解决device is busy

umount –a   报错device is busy如图 df    -h 执行 umount -l /dev/sdk1 fuser -m -v /cache10 再查看卸载了

执行umount 命令的时候出现 device is busy

执行umount 命令的时候出现 device is busy ,有人在使用这块磁盘 umount /dev/sde1 umount: /u01/app/oracle: device is busy umount: /u01/app/oracle: device is busy 使用fuser 命令查看哪个进程在使用 [[email protected] ~]# fuser -m /u01/app/oracle/ /u01/app/oracle/: 2636c 2694c [[email pro

Linux中device is busy处理

在Linux管理umount设备时,时常会遇到"device is busy", 如果umount一个文件系统碰到这种情况,并且你并没有在所需卸载的目录下.那么很可能有用户或进程在使用那个目录. # umount /mnt umount: /mnt: device is busy umount: /mnt: device is busy 那么必须用fuser命令来查看process ID和进程的拥有者,比如: # fuser -mu /mnt /mnt: 25781c(root) #

Linux在device is busy处理

在Linux管理umount设备时,时常会遇到"device is busy", 假设umount一个文件系统碰到这样的情况.而且你并没有在所需卸载的文件夹下.那么非常可能实用户或进程在使用那个文件夹. # umount /mnt umount: /mnt: device is busy umount: /mnt: device is busy 那么必须用fuser命令来查看process ID和进程的拥有者.比方: # fuser -mu /mnt /mnt: 25781c(root

Linux umount设备时出现device is busy解决方法

在Linux中,有时使用umount命令去卸载LV或文件时,可能出现umount: xxx: device is busy的情况,如下案例所示 [[email protected] u06]# vgdisplay -v VolGroup03     Using volume group(s) on command line     Finding volume group "VolGroup03"   --- Volume group ---   VG Name            

umount: /home: device is busy

转自:umount: /home: device is busy 取消挂载/home时出现umount: /home: device is busy,原因是因为有程序在使用/home目录,我们可以使用fuser查看那些程序的进程,然后杀掉就可以了.[[email protected] home]# fuser -m /home/home: 10278c 10279c 10280c 10281c 10282c 10295 10365 18222c 命令:kill -9 pid 另: umount

执行umount 的时候却提示:device is busy 的处理方法

# umount /mnt/cdrom/ umount: /mnt/cdrom: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) # umount /mnt/cdrom/ -f //强制卸载也不行 umount2: 设备或资源忙 umount: /mnt/cdrom: device is busy. (In some ca