Bug#217255: problems with umount and nautilus
Sven Luther
Sven Luther <sven.luther@wanadoo.fr>, 217255@bugs.debian.org
Thu, 13 Nov 2003 09:14:07 +0100
On Wed, Nov 12, 2003 at 12:08:08PM -0800, Philippe Troin wrote:
> Sven Luther <sven.luther@wanadoo.fr> writes:
>
> > On Wed, Nov 12, 2003 at 07:09:58PM +0100, Sebastien Bacher wrote:
> > > > How do i check that. lsof | grep scd0 doesn't show anything, and lsof
> > > > shows _loads_ of stuff. What do i have to look for ?
> > >
> > > "lsof | grep cdrom" with root (cdrom is a part of the mountpoint, not of
> > > the device)
> >
> > Yields nothing, and /dev/scd0 is mounted as /cdrom. But umount /cdrom
> > dies with :
> > umount: /cdrom: device is busy
> > umount: /cdrom: device is busy
>
> Try: fuser -muv /cdrom
Nothing happens.
> Finally, a couple of things that are not detected by fuser/lsof:
>
> 1. Do you use NFS? If yes, try doing:
>
> /etc/init.d/nfs-kernel-server stop
>
> before unmounting. kNFSd sometimes grabs handles to exported fs.
Mmm, not really, but i did try it and i think i have some NFS stuff
running. I stopped nfs-common nfs-kernel-server, but to no avail.
Anyway, i have those running, but no exported filesystems, so ...
> 2. Do you use quotas? If yes, try turning quotas off with:
>
> /etc/init.d/quota stop
>
> before unmounting.
Nope, nothing here.
But i have some new datapoint. If i open a .pdf document in nautilus
self (no external app used, well no external window anyway, i guess gpdf
is used), i can umount without problem, but if i use gimp (1.3 i think)
then the problem happens. Will try with other external apps next time.
Friendly,
Sven Luther