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: