Bug#217255: problems with umount and nautilus

Philippe Troin Philippe Troin <phil@fifi.org>, 217255@bugs.debian.org
12 Nov 2003 12:08:08 -0800


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

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.

 2. Do you use quotas? If yes, try turning quotas off with:

        /etc/init.d/quota stop

    before unmounting.

Phil.