Re: [2.6.5, ext3] getdents reports files that stat says aren't there
From: Andreas Dilger (adilger_at_clusterfs.com)
Date: 05/17/04
- Previous message: Tim Bird: "Re: ANNOUNCE: CE Linux Forum - Specification V1.0 draft"
- In reply to: felix-kernel_at_fefe.de: "[2.6.5, ext3] getdents reports files that stat says aren't there"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 17 May 2004 14:07:48 -0600 To: felix-kernel@fefe.de
On May 17, 2004 21:39 +0200, felix-kernel@fefe.de wrote:
> I keep getting this effect on my ext3 file system.
> Applications like ls call readdir, get long deleted files, then stat
> them, and get ENOENT.
>
> Most applications can handle this, but some report ugly errors or
> warnings. I wonder: why does getdents report entries of deleted files?
> I ran e2fsck on the partition, but it found nothing. So I guess it's
> not a file system error. I have been seeing this for months now. It
> does not actually hurt a lot, but I think it should be fixed
> nonetheless.
Are you using htree/indexed directories?
dumpe2fs -h /dev/XXX | grep dir_index
will tell you.
Cheers, Andreas
-- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Tim Bird: "Re: ANNOUNCE: CE Linux Forum - Specification V1.0 draft"
- In reply to: felix-kernel_at_fefe.de: "[2.6.5, ext3] getdents reports files that stat says aren't there"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|