From: Trond Myklebust Subject: unable to umount after chroot to a NFS mounted partition Date: Sun, 5 May 2002 21:32:13 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <15573.35005.147582.796024@charged.uio.no> References: <20020505170924.GA837@noo.localnet> Reply-To: trond.myklebust@fys.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Linux FSdevel Return-path: To: Ingo Koehne In-Reply-To: <20020505170924.GA837@noo.localnet> List-Id: linux-fsdevel.vger.kernel.org >>>>> " " == ingok writes: > hi, trond, using 2.4.18 on client snd server side, i stumbled > across a problem where i could not umount a NFS mounted > partition after chroot'ing into it. According to lsof, there > were no processes left with open files on that partition. > Printk debugging in fs/namespace.c:do_unmount() tells that > mnt->mnt_count is still 3 so the mount is still 'busy'. > Local mount points do not have this problem and various > experiments doing different ways of chroot'ing did not solve > the problem. Do you have any ideas or can point me to a > related thread? Hi, I've tried to look into this, but I've never been able to duplicate the problem on my own setup. Frankly I'd be surprised if it is an NFS bug that is causing it, since the filesystem neither knows nor should it care what the user root directory is: The VFS is supposed to run that show all on its own. Has anybody on linux-fsdevel looked into this? Al? Cheers, Trond