Browsing all articles tagged with device is busy
Tip: Device is Busy Error
Unmounting devices in Linux can be a bothersome because of the error “Device is Busy”. This particular error comes up when trying to unmount a drive or device that is being used by the filesystem:
# umount /media/WinXP
umount: /mediaWinXP: device is busy.
One workaround to this is to do a ‘lazy’ unmount:
# umount -l /media/WinXP
The switch -l disconnects the device from the filesystem even if it is being used. This works but quite messy since no further information will be given. If you want a cleaner unmount, fuser commands works well, too:
# fuser -m /dev/sdb1
/dev/sdb1: 1124
# ps axu | grep 1124
rai ... xmms
The ps command showed that xmms is the PID that uses the device /dev/sdb1. Close xmms and the drive can be unmounted safely.
Search PinoyTux
Subscribe to Email Feeds
Blog Lounge
Popular Posts
Recent Posts
Drop your Card Here
Recent Comments
- Eduardo Portillo on 3ix Scam: Looking for Feedbacks
- wayne donahue on Cebu Pacific Airlines is Evil!
- smeaferrepove on Howto: Install yum On RHEL 4
- Anidich1 on Tip: Add User and Generate Password Script
- Tom S on Cebu Pacific Sucks








