Welcome to

LINUX WORLD

Rohit Mehta : A Linux Follower

bangalore, Karnataka, India
hi! i m a person who is chill all time. Since jan 2008 i am working for Novell software. The word Impossible does not exist in my dictionary because Impossible says i m possible...hey guys have fun with linux...it begins but has no end......

Tuesday, November 17, 2009

Error message : device or resource busy


dorb
http://funlinuxfun.blogspot.com/

You may have encountered the error message:
Cannot open /dev/hda9 : device or resource busy
in linux many times..where /dev/hda9 is one of your partitions of your hard drive /dev/hda..and 9 is the partition number.
This can happen due to one of the following reasons:-
1.The device could be mounted somewhere.To fix this

Check /etc/fstab file.
#cat /etc/fstab
56
We can see that the last line contains /dev/hda9 mounted on /quota folder.
Comment out this line
Open /etc/fstab file with your favourite editor..we will use vi editor here.
#vi /etc/fstab
Go in insert mode by pressing ‘i’ and comment out the line.
111
Move out of the editor with [esc] and then :wq
Then,
#umount /dev/hda9
#mount –a
Now check with,
#mount
You will not see /dev/hda9 mounted.
2.Another reason may be that the device you are trying to access (or use) is supposedly busy (in use) or that a resource it needs (such as an IRQ) is supposedly being used by another device and can’t be shared. This message is easy to understand if it only means that the device is busy (in use). But it sometimes means that a needed resource is already in use (busy). What makes it even more confusing is that in some cases neither the device nor the resources that it needs are actually “busy”.

No comments:


Which Linux distribution has ease of use?