Solve the "Deviceisbusy" problem that occurs when you attach a USB flash drive to a Linux instance or when you move the hard drive"

Source: Internet
Author: User
Solve the "Deviceisbusy"-Linux general technology-Linux technology and application information that appears when you attach a USB flash drive or a mobile hard drive in Linux. The following is a detailed description. When you mount a USB flash drive or a mobile hard drive in Linux, the message "Device is busy" is often displayed ~ This is really annoying. The problem that the mobile device cannot be uninstalled in Windows has even been thrown into Linux ......

In fact, the error is not in WIndows or Linux, and the reason why the mobile device cannot be uninstalled is that there are programs in the system occupying files on the mobile device. If you force uninstall the system, it may cause data loss and Device damage. "Device is busy" is a protection measure.

Now that you know that there is a program occupation, find this program and try again. Fuser can be used. Basically, each release contains the fuser tool.

Fuser can display which program is using a file, mount point, or network port on the disk, and provide detailed information about the program process.

If the device cannot be detached is/media/USB, run the following command:
CODE: $ fuser-m-v/media/USB/
User Process Code permission command
/Media/BAK/: galeki 335 .. c .. gqview
Related Article

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.