Unable to umount removable media: device busy

Joe Marcus Clarke marcus at marcuscom.com
Wed Jul 9 20:16:13 UTC 2008


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 at 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.

Joe

> 
> >>
> >> Another question about my HDD, when I shutdown my computer, my HDD is
> >> still turned on. This is not the case with Windows XP.
> >> How to turn off the HDD when I shutdown my computer?
> >
> > I don't see how this is GNOME or even FreeBSD-related.  If the computer
> > is powered off, the peripherals should be shutoff unless the computer
> > provides power through the USB ports even when the CPU is off.
> >
> > Maybe XP is sending some shutdown signal to the drive...
> 
> I'll see in the BIOS setting if I can find an option...
> 
> > Joe
> >
> > --
> > PGP Key : http://www.marcuscom.com/pgp.asc
> >
> 
> Regards.
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080709/1b8c8927/attachment.pgp


More information about the freebsd-gnome mailing list