Umount cannot be a disk or network device

Source: Internet
Author: User

Umount cannot be a disk or network device
Umount cannot be a disk or network device

For example, umount cannot run/g01/app/shared

[root@rac01 shared]# umount /g01/app/sharedumount.nfs: /g01/app/shared: device is busyumount: /g01/app/shared: device is busy.        (In some cases useful info about processes that use         the device is found by lsof(8) or fuser(1))umount.nfs: /g01/app/shared: device is busy

You can use-l to force umount,

umount -l /g01/app/shared

But there is a way to check who is using this device, the method is very simple
Fuser

[root@rac01 shared]# fuser -u /g01/app/shared/g01/app/shared: 1520c(root)[root@rac01 shared]# ps axu|grep 1520root 1520 0.0 0.0 108468 1912 pts/0 S 09:00 0:00 bashroot 1630 0.0 0.0 103256 840 pts/0 S+ 09:09 0:00 grep 1520

After ps, check the process and find that the bash process is in use. Exit the Directory and umount will be OK.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.