From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-86629-garchives=archives.gentoo.org@lists.gentoo.org>) id 1L3MMO-0003eZ-Go for garchives@archives.gentoo.org; Fri, 21 Nov 2008 03:07:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B598E0319; Fri, 21 Nov 2008 03:07:07 +0000 (UTC) Received: from mail.netspace.net.au (mail-out5.netspace.net.au [203.10.110.92]) by pigeon.gentoo.org (Postfix) with ESMTP id F2E5CE0319 for <gentoo-user@lists.gentoo.org>; Fri, 21 Nov 2008 03:07:06 +0000 (UTC) Received: from [172.16.0.52] (ppp246-231.static.internode.on.net [203.122.246.231]) by mail.netspace.net.au (Postfix) with ESMTP id CA1701717F3 for <gentoo-user@lists.gentoo.org>; Fri, 21 Nov 2008 14:06:59 +1100 (EST) Message-ID: <4926259E.8060301@netspace.net.au> Date: Fri, 21 Nov 2008 12:36:06 +0930 From: Iain Buchanan <iaindb@netspace.net.au> User-Agent: Thunderbird/3.0a2 (X11; 2008072418) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] forcing file removal, fails with ESTALE References: <e38d12ff0811201013v409f2a78gc97f3cc4b8f30b8b@mail.gmail.com> <c3d5f3800811201033p4d20e42ck59fc89b4a65f3fcb@mail.gmail.com> <4925FD9D.4070608@netspace.net.au> <e38d12ff0811201716u3234f806r89e8c77f64a66036@mail.gmail.com> In-Reply-To: <e38d12ff0811201716u3234f806r89e8c77f64a66036@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 4ca2bda1-0dfc-4708-a96b-2f472b4cc215 X-Archives-Hash: 0ee95e192d1510714a595f4c881f99b9 Andrey Vul wrote: > On Thu, Nov 20, 2008 at 19:15, Iain Buchanan<iaindb@netspace.net.au> wrote: >> Qian Qiao wrote: >>> On Thu, Nov 20, 2008 at 18:13, Andrey Vul<andrey.vul@gmail.com> wrote: >>>> I'm trying to remove a file, yet it fails with ESTALE ("Stale NFS file >>>> handle"). I'm thinking that this is due to a corrupt inode but fsck >>>> fails to fix it. snip >>> It's just a stale handle, i.e., some process opened the file, but the >>> file is then deleted, moved or renamed by another process. >>> >>> If you know what process is holding the handle of the non-existent >>> file, restart it, if not, re-mount the file system. >>> >> `umount -l` might help you there. >> > Umount -l fixes inconsistent inodes / directory entries? > I thought only fsck -f could do that. no, but it does help you unmount a file system if a process is holding a file open, but you don't know which one, as per the suggestion I replied to "remount the file system" :) -- Iain Buchanan <iaindb at netspace dot net dot au> <sj7trunks> so after updating glibc i just need to emerge -eup <carpaski> -e == truck <carpaski> -u == small cat <carpaski> -eu == truck running over small cat