Can't unmount external device because gam is watching it
Kevin Oberman
oberman at es.net
Wed Aug 6 16:53:13 UTC 2008
> From: Fernando Herrero =?ISO-8859-1?Q?Carr=F3n?= <fhcarron at terra.es>
> Date: Wed, 06 Aug 2008 17:06:01 +0200
> Sender: owner-freebsd-gnome at freebsd.org
>
> Hi,
>
> I have an external drive formatted with ufs2. When I try to unmount it
> through nautilus (computer window), I get the following error:
>
> Cannot unmount /media/disk-3: device busy.
>
> Doing
>
> $ fstat | grep disk
>
> I get the following:
>
> *** gam_server 44650 1120 /media/disk-3 19241986 drwx------ 512 r
>
> Is there anything I am missing? Looks like the volume manager should
> tell gam to stop watching that directory but is failing to do so.
>
>
> uname -a: FreeBSD **** 7.0-STABLE FreeBSD 7.0-STABLE #11: Wed May 7
> 16:01:04 CEST 2008 ****:/usr/obj/usr/src/sys/**** i386
>
> gnome version: 2.22.3
> GNOME nautilus 2.22.5.1
>
>
>
> Any hints greatly appreciated.
I've had the same sort of problems and I know a few things can trigger
it.
1. Any shells with a CWD on the volume?
2. Any suspended or active processes (or dead/zombies) started with a
CWD on the volume?
3. Any nested mounts?
The last is speculation from when I had a file backed md pseudo-volumes
mounted. It was weird, but what I was doing was weird.
A GELI encrypted UFS disk. It had two file-backed md device of 2 GB each
on it. All were mounted with the second MD at a mount point under the
first. I could alway unmount the second of the two MD volumes, but the
first was always busy and always it was gam-server.
If I did not mount the second (nested) MD volume, there was no problem.
Yes, I said it was weird and I did it for dumb reasons and don't do it
any more.
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman at es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080806/3d03be6f/attachment.pgp
More information about the freebsd-gnome
mailing list