Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 01-22-2006, 11:59 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 28

Rep: Reputation: 15
gamin / gam_server prevents umounting drives / partitions even as root

I've kept getting errors when trying to umount a drive or a partition, after I have closed all their windows. Even from the commandline, and even as root.

root@machine:~# umount /dev/hdb1
umount: /mountpoint: device is busy
umount: /mountpoint: device is busy

I've used 'fuser /mountpoint' and 'ps aux | grep psnumberreturned' and found it to be /usr/lib/gamin/gam_server .

Suppossedly this was fixed in 0.0.25 according to:

apt-get show gamin
Description: File and directory monitoring system
Gamin is a file and directory monitoring system defined to
be a subset of the FAM (File Alteration Monitor) system.

Filename: pool/main/g/gamin/gamin_0.0.26-0ubuntu3_i386.deb

The debian package appears to not be the most current version:

I'd like to know how to tickle the gam_server into releasing the drive so that I can umount it. Hints on repackaging the most current gamin into Debian (and boy, what will that break on me?)
recommends what I've been doing, find the process id via fuser and kill it. Do I need to restart gamin/gam_server?
suggests: 'killall -9 gam_server && umount /my/mountpoint'

I finally got this forum to work:
But no real information there...

I had luck killing the process once, but I have no idea if that's causing further errors (I've had more issues since then).

It appears to only occur when I'm using the GUI to access the drive/partition in question. When I copied files via commandline from a USB drive to the new HD, I didn't have an issue.

Now, if I could just get 'apt-get -u upgrade' to not automatically mount my partitions and drives and open GUI'd folders to them, then I'd have a work-around...

I could email bugs and stuff for gamin, do you think that I should - or is there something easy that I'm missing?

Last edited by ender42; 01-24-2006 at 11:58 AM. Reason: Didn't explicitly say that I'd tried umounting as root - fixed. Details on gamin. Some links to other people's workarounds.
Old 01-23-2006, 12:12 AM   #2
Registered: Nov 2003
Location: Texas, USA
Distribution: Ubuntu 7.04
Posts: 44

Rep: Reputation: 15
i have no idea what gam_server is but...
you should be able to umount the drive with sudo

sudo umount /dev/hdx

Last edited by morphodone; 01-23-2006 at 12:13 AM.


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
gam_server? k3nn0n Linux - Networking 19 06-18-2008 05:20 PM
Mounting/umounting TomalakBORG Linux - General 7 05-12-2005 09:30 AM
gam_server gamin crxssi Linux - General 3 04-30-2005 08:05 AM
FC3 Flashdrive can't umount (busy - gam_server) msewing Linux - Software 2 03-02-2005 11:04 AM
gam_server? k3nn0n Fedora 1 09-23-2004 12:27 PM

All times are GMT -5. The time now is 01:09 PM.

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