View previous topic :: View next topic |
Author |
Message |
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Tue Nov 16, 2004 6:54 am Post subject: famd disallowing umount /mnt/camera |
|
|
Back in the day I used to have a problem where often I couldn't umount /mnt/cdrom because fam was accessing it causing "device is busy." Since then the devs have fixed that little problem.
Now, however, I am getting the same thing with my digital camera.
Is there any way to stop fam from fucking with /mnt/camera? Or do I have to always kill fam, umount, and start fam again? Or should I just say "fuck it" and unmerge fam completely because it's caused me a lot of headaches in the past and is continuing to do so? _________________ [ blaksaga.com ] |
|
Back to top |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Tue Nov 16, 2004 8:01 am Post subject: |
|
|
have you tried doing a lazy unmount? it works for me when lvm doesn't let me unmount a volume group.
--de |
|
Back to top |
|
|
uprooter n00b
Joined: 06 Mar 2005 Posts: 70
|
Posted: Sun Mar 27, 2005 9:47 am Post subject: The same problem here |
|
|
I get the same problem.. Also with my CDROM..
How do you stop that ugly beast from locking files on removable media? |
|
Back to top |
|
|
csab Apprentice
Joined: 15 Apr 2005 Posts: 152 Location: Atlanta, GA
|
Posted: Fri Jul 01, 2005 1:10 am Post subject: |
|
|
I get the same problem with a FAT partition on my other hard drive. Interestingly, it only gets locked when I access it with nautilus. If I only access it from command line, fam won't lock it.
My workaround is restarting the fam deamon:
/etc/init.d/famd restart
umount /mnt/shared
I don't like to use umount -l, because it only detaches the filesystem from the hierarchy, but doesn't clean up references to it until it's not busy. But if fam keeps it indefinitely (my experience is this) then the references will never be cleaned, i. e. the filesystem won't be properly unmounted. Tell me if I'm wrong.
You can get used to it, but it's definitely annoying. |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Fri Jul 01, 2005 5:39 am Post subject: |
|
|
Make sure that nautilus is not browsing the directory that you are trying to unmount. As long as I have no applications using the mounted device I have no problems with fam anymore. _________________ [ blaksaga.com ] |
|
Back to top |
|
|
csab Apprentice
Joined: 15 Apr 2005 Posts: 152 Location: Atlanta, GA
|
Posted: Thu Jul 07, 2005 5:29 pm Post subject: |
|
|
blaksaga wrote: | Make sure that nautilus is not browsing the directory that you are trying to unmount. As long as I have no applications using the mounted device I have no problems with fam anymore. |
Even if I quit Nautilis, this happens. I have to restart famd. |
|
Back to top |
|
|
blaksaga Guru
Joined: 19 May 2003 Posts: 461 Location: Omaha, NE, USA
|
Posted: Fri Jul 08, 2005 4:07 am Post subject: |
|
|
Hmmm...well...all I can suggest is seeing if there is an updated fam and maybe file a bug report.
I am using
app-admin/fam-2.7.0-r2
and am experiencing no problems. I used to have the same problem but I updated fam a while back and has worked since. Sorry, don't know what else to tell you. _________________ [ blaksaga.com ] |
|
Back to top |
|
|
Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Sun Nov 13, 2005 11:30 pm Post subject: |
|
|
I'm getting this exact same problem, too - famd locks up my FireWire hard drive.
I use csab's workaround
Code: | # /etc/init.d/famd restart
# umount /dev/sdb1 |
But having to do this is annoying, which is why I'm here. Does this problem appear to have no solution as yet? _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
|
Cardoe Retired Dev
Joined: 28 Jun 2002 Posts: 32
|
Posted: Wed Feb 22, 2006 3:28 pm Post subject: |
|
|
This is a known issue with famd. Sun knows about this. (They are the creators and maintainers of famd.) Due to the nature of famd there is no possible
solution to this issue. It will remain for good. This is was famd is depreciated in favor of it's newer and better replacement called "gamin". _________________ Cardoe
Retired Gentoo Developer
Gentopia, MythTV, D-Bus |
|
Back to top |
|
|
Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Wed Feb 22, 2006 4:54 pm Post subject: |
|
|
Yeah, that's what I'm using now. Famd was OK in Gnome, but a little while ago I switched to KDE, and it went mad! For the entire time I was logged in, it was constantly accessing the disk and eating all the CPU cycles. Gamin doesn't do that. I prefer Gamin _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
|
certocivitas Apprentice
Joined: 29 Dec 2004 Posts: 194
|
Posted: Thu Feb 23, 2006 7:53 am Post subject: |
|
|
I'm so happy to have found this thread! It was really getting under my skin that fam would not play nice. With gamin devices will cleanly unmount even with a instance of nautilus displaying them. It worked flawlessly when I tested things with my cdrom, camra, and mp3 player. |
|
Back to top |
|
|
Napalm Llama Guru
Joined: 04 Jun 2005 Posts: 533 Location: Cardiff, UK
|
Posted: Thu Feb 23, 2006 5:25 pm Post subject: |
|
|
Yup - it's a good thread _________________ Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans |
|
Back to top |
|
|
|