Skip to content

Instantly share code, notes, and snippets.

@bumaociyuan
Last active January 23, 2016 07:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bumaociyuan/b2e86c2894fd06f06a0f to your computer and use it in GitHub Desktop.
Save bumaociyuan/b2e86c2894fd06f06a0f to your computer and use it in GitHub Desktop.
设备忙的解决办法

这时使用umount 命令,会提示设备忙,无法挂载。

处理方法: Linux umount 报 device is busy 的处理方法

[root@qs-wg-db1 ~]# fuser -km /datatmp
[root@qs-wg-db1 ~]# df -lh

Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb3             125G  3.3G  115G   3% /
/dev/sdb1              99M   12M   82M  13% /boot
tmpfs                 3.9G     0  3.9G   0% /dev/shm
/dev/sda1             275G   72G  189G  28% /u01
/dev/sdc1              10G  2.0G  8.1G  20% /datatmp
[root@qs-wg-db1 ~]# umount /datatmp
# umount success
$ umount -l /datatmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment