> > 'fuser -muv <dir>' will tell you who is using what. > > Ocasionally you may get a hang in the kernel, if so then > > you are out of luck (i.e. need rebooting) > > If it is the kernel, do you get this (/dev/hdd is mounted on /cdrom so I > tried both): > > smurf:~# fuser -muv /cdrom > smurf:~# fuser -muv /dev/hdd > smurf:~# umount /cdrom > umount: /cdrom: device is busy > smurf:~#
Yes, I have these problems with NFS too. You can't unmount a filesystem which is exported to another machine, and which was mounted at least once on any machine it's exported too. I've heard Linux NFS doesn't carry the unmount back to the NFS server properly, in any case it sucks if the NFS server can't tell any client to just get lost. The only way to umount the filesystem is to stop the NFS server. I bet you're using kernel NFS - that's why the filesystem is in use by the kernel (-based NFS server) ;) Volker -- Volker Kuhlmann is possibly list0570 with the domain in header http://volker.orcon.net.nz/ Please do not CC list postings to me.
