From: card@masi.ibp.fr (Remy CARD) Subject: Re: maybe problem with ext Date: 1 Oct 1992 18:33:20 GMT
In article <22548@galaxy.ucr.edu> gwoho@ucrmath.ucr.edu (gwoho liu) writes:
>has any one noticed this--if one creates a really large number of
>files, say 1000 or so, in one directory on the ext file system,
>then remove a bunch of them, apparently the kernel can not
>skip over a bunch of erased files to find some of the files after
>the erased ones. efsck tells of no problems. after doing this to
>my file system, i can only access the files if i do something like
>for a in a b c d e f g h i j k l m n o p q r s t u v w x y z;do
>for b in a b c d e f g h i j k l m n o p q r s t u v w x y z;do
>for c in a b c d e f g h i j k l m n o p q r s t u v w x y z;do
>>.$a$b$c;done;done;done
>this apparantly fills up the holes, then i can access the files again.
>i can't access the files at all--can't even stat them. but readdir
>can read the dir entry.
Well, I have tried some tests : created 1000 files in a directory,
deleted 800 files and there is no problem accessing files. I can list
the contents of the directory with 'ls -l' which does a stat() on each
file and print the contents of the files to the screen. Have you been
able to reproduce this problem and, if so, could you send me the
commands you used to see the problem please ? If other people also
had this same problem and succeded in reproducing it, could they please
send me some reports too.
>
>
>gwoho
Remy