Processing of device is busy in Linux

Source: Internet
Author: User

Processing of device is busy in Linux

When Linux manages umount devices, it often encounters "device is busy". If a file system of umount encounters this situation, and you are not in the directory to uninstall. It is very likely that a user or process is using that directory.

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

You must use the fuser command to view the process ID and process owner. For example:

# Fuser-mu/mnt
/Mnt: 25781c (root)
# Kill-9 25781
# Umount/mnt

In this case, the directory that the rhythmbox user is using is displayed. Then, you can use fuser-ck/dev/sdc1 to kill the process.

# Fuser-m/dev/sdc1
/Dev/sdc1: 538
# PSS auxw | grep 538
Donncha 538 0.4 2.7 219212 56792? SLl Feb11 :25 rhythmbox

If all these efforts do not work, after killing the process, you may need to add the-f-l parameter and force uninstall it.

# Umount-f-l/mnt

NOTE:

Run the following command to check the bad parts of the SATA hard disk.

# Badblocks-v/dev/sda
# Badblocks-v/dev/sdb

# Badblocks-v/dev/mapper/vgosi-lvol1
Checking blocks 0 to 10477568
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.

Solve Linux NFS umount 'device is busy' and 'df-H' hang

Device is busy in Linux umount

Umount unmount mount point unmount storage error: device is busy

"Device is busy" cannot be displayed in SUSE"

How to handle device is busy reported by Linux umount

This article permanently updates the link address:

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.