public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Iain Buchanan <iaindb@netspace.net.au>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] forcing file removal, fails with ESTALE
Date: Fri, 21 Nov 2008 12:36:06 +0930	[thread overview]
Message-ID: <4926259E.8060301@netspace.net.au> (raw)
In-Reply-To: <e38d12ff0811201716u3234f806r89e8c77f64a66036@mail.gmail.com>

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




      reply	other threads:[~2008-11-21  3:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20 18:13 [gentoo-user] forcing file removal, fails with ESTALE Andrey Vul
2008-11-20 18:33 ` Qian Qiao
2008-11-21  0:15   ` Iain Buchanan
2008-11-21  1:16     ` Andrey Vul
2008-11-21  3:06       ` Iain Buchanan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4926259E.8060301@netspace.net.au \
    --to=iaindb@netspace.net.au \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox