Umount:/mnt/CDROM: device is busy

Source: Internet
Author: User

Umount:/mnt/CDROM: device is busyevery wonder why sometimes you get this message

When you try to un-mount a NFS drive or CDROM Drive

Coderoot @ Homer:~ # Umount/mnt/CDROM

Umount:/mnt/CDROM: device is busy
Umount:/mnt/CDROM: device is busy
Root @ Homer:~ #

Well chances a process is running that is using that directory. To find out run

Coderoot @ Homer:~ # Fuser-M/mnt/CDROM/
/Mnt/CDROM/: 24066c

That shows you what process is using that directory. Now lets do a PS aux and see

Whats running

Coderoot @ Homer:~ # Ps aux | grep 24066

Root 24066 0.0 0.5 2244 1284 pts/10 s-su
Root @ Homer:~ #

Looks like a root user is in that directory. If you cannot find the term that is

In that directory then kill that process

Coderoot @ Homer:~ # Kill-9 24066
Root @ Homer:~ #

Now you can un-mount

Coderoot @ Homer:~ # Umount/mnt/CDROM/
Root @ Homer:~ #

This tip brought to you by the letter J and the letter y

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.