Am Donnerstag, 21. März 2013 schrieb Frédéric COIFFIER:
> Hi Martin,
> 
> Le mercredi 20 mars 2013 19:59:54 Martin Steigerwald a écrit :
> > Am Mittwoch, 20. März 2013 schrieb Frédéric COIFFIER:
> > > > But I really think BTRFS displays the filename affected meanwhile. So
> > > > maybe if it does not, its some metadata being affected? So output of 
> > > > btrfsck
> > > > hints at that and that you can´t remove the file does as well. What 
> > > > happens
> > > > if you try to remove the file? Do you get an input/output error or
> > > > something like that?
> > > 
> > > # rm -rf *
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > rm: cannot remove 'drivers/misc/lis3lv02d/lis3lv02d.c': Stale NFS file 
> > > handle
> > > ...
> > 
> > You are trying to remove the files from an NFS client. Stale NFS file
> > handle just means that the NFS handle is no longer valid.
> 
> Absolutely not. I'm not using NFS and I try to remove the files locally.
> It seems that btrfs returns a strange ESTALE errno...
> 
> grep -rsn ESTALE fs/btrfs/
> fs/btrfs/inode.c:2412:          if (ret && ret != -ESTALE)
> fs/btrfs/inode.c:2415:          if (ret == -ESTALE && root == 
> root->fs_info->tree_root) {
> fs/btrfs/inode.c:2451:          if (ret == -ESTALE) {
> fs/btrfs/inode.c:4273:                  inode = ERR_PTR(-ESTALE);
> fs/btrfs/export.c:71:           return ERR_PTR(-ESTALE);
> fs/btrfs/export.c:104:          return ERR_PTR(-ESTALE);
> 
> This error seems to be common (even if I can't see any recent reports) :
> http://www.google.fr/search?q=btrfs+Stale+NFS+file+handle

Thanks for notice. Well I thought one can take the error message literally.
I only ever saw it with NFS and its also NFS in the error message. I think
the error message is at least misleading.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to