Re: inconsistent ls result
On Wed, Sep 19, 2007 at 12:47:42 +0200, Mathieu DESPRIEE wrote:
> I have an inconsistent behavior in a ext3 file system.
>
> Here are the result of 2 ls commands done within a few minutes of time :
I've collected the two command lines to make it easier to see the problem:
> www1:/data/documents/upload/bill/invoices# ls -ld 00/00071/0007113*
> www1:/data/documents/upload/bill/invoices# ls -ld 00/00071/0007173*
You are getting different results becasue you aren't actually running
the same command; Notice the difference between 7113 and 7173 at the
end?
The same appears to be the case in the other example:
> www1:/data/documents/upload/bill/invoices# cd 00/00071/00071134
> -bash: cd: 00/00071/00071134: No such file or directory
That directory was missing from the previous listing (71133 and 71135
were there), so this seems correct.
> www1:/data/documents/upload/bill/invoices# ls -ld 00/00071/00071734
> drwxr-sr-x 2 webadmin webadmin 4096 2007-09-10 16:36 00/00071/00071734
This directory was there, so this also seems correct.
I may have overlooked something, but from the information you supplied
I can't see anything wrong with the results.
/Finn
--
Finn Lindgren, email: finn@maths.lth.se, phone: +46 46 2229837
www: http://www.maths.lth.se/matstat/staff/finn/
Centre for Mathematical Sciences, Lund University
Box 118, SE-221 00, Sweden
Reply to: