Re: inconsistent ls result
On 09/19/2007 05:47 AM, Mathieu DESPRIEE wrote: Hi, 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 : www1:/data/documents/upload/bill/invoices# ls -ld 00/00071/0007113* Directory listed: 0007113 (two 1's) drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071130 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071131 drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071132 drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071133 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071135 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071137 www1:/data/documents/upload/bill/invoices# ls -ld 00/00071/0007173* Directory listed: 0007173 (two 7's) drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071731 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:42 00/00071/00071733 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-10 16:36 00/00071/00071734 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:42 00/00071/00071736 drwxr-sr-x 2 webadmin webadmin 4096 2007-04-05 00:33 00/00071/00071738 drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071739 In between, nothing but some navigation in the directory structure, with some cd or ls commands... For info, the 00071 directory contains around 700 sub-entries. It's sure that no other program running in the background move or change anything in this directory structure. Another manifestation of the same problem : www1:/data/documents/upload/bill/invoices# cd 00/00071/00071134 -bash: cd: 00/00071/00071134: No such file or directory 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 www1:/data/documents/upload/bill/invoices# ls -l 00/00071/00071734 total 528 -rw-r--r-- 1 webadmin webadmin 93401 2007-04-05 00:33 Bill.pdf <-- cut : the listing works well. All files are correctly listed --> www1:/data/documents/upload/bill/invoices# cd 00/00071/00071134 -bash: cd: 00/00071/00071134: No such file or directory Correct, the directory listing at the top does not show 00071134 as an entry. This occurs on a highly used production server, so we cannot easily reboot or unmount this filesystem for fsck... and a fortiori we cannot neither try to upgrade any lib. The kernel version is 2.6.8-2-686-smp #1 SMP Thu May 19 17:27:55 JST 2005. The impacted filesystem is ext3. I can't find any referenced bug that looks like this problem. Any clue ? MD. Please forgive me if I'm missing something obvious. You listed two different directories and got two different results. I don't see the problem. 7 != 1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: inconsistent ls result
On Wed, Sep 19, 2007 at 04:22:20PM +0200, Mathieu DESPRIEE wrote: > Aaaggg !!! > What an awful mistake ! It happens to all of us at some point. Aren't you glad you didn't scream ROOTKIT! and reinstall? Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: inconsistent ls result
Aaaggg !!! What an awful mistake ! -Message d'origine- De : Finn Lindgren [mailto:[EMAIL PROTECTED] Envoyé : mercredi 19 septembre 2007 16:00 À : debian-user@lists.debian.org Objet : 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: [EMAIL PROTECTED], 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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: [EMAIL PROTECTED], 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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. > I can't find any referenced bug that looks like this problem. rootkit? Steve -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
inconsistent ls result
Hi, 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 : www1:/data/documents/upload/bill/invoices# ls -ld 00/00071/0007113* drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071130 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071131 drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071132 drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071133 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071135 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:40 00/00071/00071137 www1:/data/documents/upload/bill/invoices# ls -ld 00/00071/0007173* drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071731 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:42 00/00071/00071733 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-10 16:36 00/00071/00071734 drwxr-sr-x 2 webadmin webadmin 4096 2007-09-07 20:42 00/00071/00071736 drwxr-sr-x 2 webadmin webadmin 4096 2007-04-05 00:33 00/00071/00071738 drwxr-sr-x 2 webadmin webadmin 4096 2007-08-10 23:31 00/00071/00071739 In between, nothing but some navigation in the directory structure, with some cd or ls commands... For info, the 00071 directory contains around 700 sub-entries. It's sure that no other program running in the background move or change anything in this directory structure. Another manifestation of the same problem : www1:/data/documents/upload/bill/invoices# cd 00/00071/00071134 -bash: cd: 00/00071/00071134: No such file or directory 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 www1:/data/documents/upload/bill/invoices# ls -l 00/00071/00071734 total 528 -rw-r--r-- 1 webadmin webadmin 93401 2007-04-05 00:33 Bill.pdf <-- cut : the listing works well. All files are correctly listed --> www1:/data/documents/upload/bill/invoices# cd 00/00071/00071134 -bash: cd: 00/00071/00071134: No such file or directory This occurs on a highly used production server, so we cannot easily reboot or unmount this filesystem for fsck... and a fortiori we cannot neither try to upgrade any lib. The kernel version is 2.6.8-2-686-smp #1 SMP Thu May 19 17:27:55 JST 2005. The impacted filesystem is ext3. I can't find any referenced bug that looks like this problem. Any clue ? MD.