Date: Thu, 17 Jul 2008 15:49:10 +0930 From: Wayne Sierke <ws@au.dyndns.ws> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: Unable to umount removable media: device busy Message-ID: <1216275550.81342.65.camel@predator-ii.buffyverse> In-Reply-To: <1215634580.96637.51.camel@shumai.marcuscom.com> References: <7daacbbe0806250602m67ea3734o38e38b0460547e69@mail.gmail.com> <1214677131.86194.3.camel@shumai.marcuscom.com> <7daacbbe0807091258s5248ff86kcc61149c0dac8c0d@mail.gmail.com> <1215634580.96637.51.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2008-07-09 at 16:16 -0400, Joe Marcus Clarke wrote: > On Wed, 2008-07-09 at 21:58 +0200, Dominique Goncalves wrote: > > Thanks guys for your answers, > > > > On Sat, Jun 28, 2008 at 8:18 PM, Joe Marcus Clarke <marcus@marcuscom.com> wrote: > > > On Wed, 2008-06-25 at 15:02 +0200, Dominique Goncalves wrote: > > >> Hi, > > >> > > >> I use at home a Gnome desktop on FreeBSD 6.3 (ports last updated > > >> before the devel/gettext update). > > >> When I plug my removable HDD (USB Maxtor, 500Go formatted with fat32 > > >> filesystem), it is auto mounted. But I can't umount my HDD, it fails > > >> with > > >> > > >> >> umount: unmout of /media/disk failed: Device busy > > >> > > >> I tried from the command line and right clicking the icon on the desktop. > > >> All applications are closed. > > >> What can I do to solve this problem? > > > > > > As others have said, this may be fam/gamin related. You could try > > > running lsof on your volume to see what is actually holding it open. > > > > It is indeed gam_server > > > > %fstat | grep media > > dom gam_server 1384 948 /media/disk 1649686560 drwx------ 65536 r > > > > How to tell gam_server to leave /media/disk ? > > The only way to do this to restart gam_server. Though I'm not sure who > is telling gamin to monitor this drive. I recently faced a similar issue - unable to unmount either of an msdosfs ata/hdd partition and an msdosfs usb/flash drive. I was able to unmount both after closing a nautilus browser window that was open on the Gnome desktop. I'm not sure why gam_server would still have been monitoring any files opened on those two mounts but from memory fstat showed a number of them. No folder from either of the two mounts was selected in the nautilus browser, although they likely had been earlier. Wayne
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1216275550.81342.65.camel>