Linux on device is busy processing

Source: Internet
Author: User

When Linux manages Umount devices, it is common to encounter "device is busy", assuming that umount a file system encounters such a situation. And you're not in the folder you need to uninstall. Then it is very likely that the utility user or process is using that folder.

# Umount/mntumount:/mnt:device is busyumount:/mnt:device is busy

Then you must use the Fuser command to view the process ID and the owner of the processes. Example:

# fuser-mu/mnt/mnt:25781c (Root) # kill-9 25781# umount/mnt

A situation like the one below represents the Rhythmbox user using that folder. You can then use FUSER-CK/DEV/SDC1 to kill the process.

# fuser-m/dev/sdc1/dev/sdc1:538# PS auxw|grep 538donncha 538 0.4 2.7 219212 56792? SLl FEB11 11:25 Rhythmbox
</pre><span style= "font-family:fangsong_gb2312; font-size:18px "><strong> assume that all these efforts have not worked, after the process has been killed. Then this time may need to add-f-l parameters, forced unloading </strong></span><p><span style= "font-family:fangsong_gb2312; font-size:18px "><strong># umount-f-l/mnt</strong></span></p><p></p>< Pre>
Note:

Use the following command to check the bad block of the SATA hard drive.

# badblocks-v/dev/sda# badblocks-v/dev/sdb# badblocks-v/dev/mapper/vgosi-lvol1checking blocks 0 to 10477568Checking For bad blocks (read-only test): Do                              Pass completed, 0 bad blocks found.








Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

Linux on device is busy processing

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.