LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-10-2005, 12:37 AM   #1
Vitalka
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: CentOS 5.0 & Suse 10.3
Posts: 26

Rep: Reputation: 15
Problem with unmounting vfat partition


Here is the picture:
- every time i'm trying to unmount my /dev/hda5 (vfat partition) it says that the device is busy.
- I have commented out its entry in /etc/fstab
- after that I restarted my PC so /dev/hda5 would not be mounted
- then mounted it manually using this line: mount -t vfat /dev/hda5 /windows/fat
- it mounted perfectly fine, but I can't unmounted. It says device is busy, just like when it's mounted using fstab.

I also made sure that when I do unmount I am not in /windows/fat, there for this partition is not being used at the moment of umount.

Any ideas of what could be wrong?

I'm using FC4 by the way.

Thank you in advance.
 
Old 11-10-2005, 02:03 AM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
Perhaps try
# lsof /dev/hda5
to find out what is still using the device.
 
Old 11-10-2005, 09:07 AM   #3
akneppar
LQ Newbie
 
Registered: May 2002
Distribution: Fedora 3-6 & RH 7.3-9, RH ES3-4
Posts: 26

Rep: Reputation: 15
I had a very similar prblem with CD/DVD discs on Fedora Core 3. Every time I tried to unmount and then open the tray, I got an error saying it was busy. I eventually figured out that if I just used the eject command instead - it worked. I never really did figure out what was wrong, hoever I would be willing to bet while clearly not the same trouble, probably related. Also I'm working mounting a bunnch of different drives in Fedora Core 4 right now (on my Dell Laptop, my NTFS partition and an NTFS USB Drive) and was able to follow / modify this gentleman's instructions for my needs: http://www.mjmwired.net/resources/mjm-fedora-fc4.html
I have found his guide pretty invaluable in assiting me with minor annoyances on my machine.
 
Old 11-10-2005, 03:15 PM   #4
Vitalka
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: CentOS 5.0 & Suse 10.3
Posts: 26

Original Poster
Rep: Reputation: 15
I ran the lsfo command and this is what it gave me:
COMMAND: gam_serve
PID: 2825
USER: vitali
FD: 15r
TYPE: DIR
DEVICE: 3,5
SIZE: 4096
NODE: 902
NAME: /windows/fat/.Trash-vitali

This is not extactly how it appeared, which was in a nice table.

Any way, I decided that maybe I should delete .Trash-vitali and then I ran lsof /dev/hda5 again.
After that I got this out put.
gam_serve 2825 vitali 15r DIR 3,5 4096 902 /windows/fat/.Trash-vitali (deleted)

I still was not able to unmount.
So i decided to kill gam_serve. Every time I kill it, it would just get new PID. By the way its PPID is 1 so I assume it belongs to init.
 
Old 11-10-2005, 04:19 PM   #5
akneppar
LQ Newbie
 
Registered: May 2002
Distribution: Fedora 3-6 & RH 7.3-9, RH ES3-4
Posts: 26

Rep: Reputation: 15
a quick google search found this:

http://www.security-forums.com/forum...734f20da0cb69e

I believe it will probably relate and solve your issue.
 
Old 11-10-2005, 06:10 PM   #6
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
I too searched google, for results like:
http://www.redhatforums.org/ftopic3333.html

The bug report:
https://bugzilla.redhat.com/bugzilla....cgi?id=142637

Configuring gamin:
http://www.gnome.org/~veillard/gamin/config.html

so, either:
# killall -9 gam_server; eject /media/cdrecorder
or
upgrade gamin to 0.0.25 (system update)
 
Old 11-10-2005, 08:08 PM   #7
Vitalka
LQ Newbie
 
Registered: Nov 2005
Location: Canada
Distribution: CentOS 5.0 & Suse 10.3
Posts: 26

Original Poster
Rep: Reputation: 15
I just mounted vfat parttion again the same way I was doing it and then I was able to unmount it with no problem with out killing "gam_serve". Now i 'm just confused.
I took a look at this links you guys posted and they give a good insight on the problem.

So I think I'll update my "gam_serve" if this problem appears again, since killing it was not solving the problem before.

Thanks for you time guys. I'll keep playing with that partition.

Last edited by Vitalka; 11-10-2005 at 08:11 PM.
 
Old 11-10-2005, 08:43 PM   #8
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
AFAIK gam_serve(r?) is a gamin process.
ie. upgrade gamin
one of those posts suggests that doing a normal system upgrade
will fix the problem (although I think that was for FC3)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with vfat partition lunatix Fedora 11 11-21-2005 12:23 PM
FC3 vfat partition mount problem darkranger Fedora 2 11-23-2004 08:23 AM
Permissions problem in mounted vfat partition SparceMatrix Linux - General 2 02-17-2003 03:49 PM
Problem mounting vfat partition!!! yalanop Linux - Newbie 1 02-02-2003 04:21 PM
Problem playing music off vfat partition brufleth Linux - Newbie 2 10-09-2002 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration