there's a file pixel.jpg that i used to use in my web pages but deleted.
got sick of seeing "file not found" in /var/log/apache/error.log, so i set
out to find the pages that still made reference to this deleted file.

i did a find /www -exec grep pixel.jpg \{} \; > pixelfind, and took a
shower.

i came back to find that i couldn't read my mail.  mutt would start up, and
even show me the list of emails (the pager) but i couldn't view any of them.
after scratching my head for a bit, i did a df and found that / filled up
(6.5GB!).  i started doing du -s and found an error message that looked like:

        /www
        Error: Value too large for defined data type

i went into /www, and did an ls:

        # ls
        ls: pixelfind: Value too large for defined data type
        car/  index.html  linux@  p/  prefs/  rhonda/  sabmag/  tests/  welcome/

i couldn't rm the file; every time i tried to rm the file, it would give the
same error message -- value too large for defined data type.   i tried
everything i could think of.

the one thing that DID work was:

        echo "" > ./pixelfind

which, of course, truncated the file to 0 bytes and i was able to delete it.
right now / is at 1.4GB, meaning that file must have been somewhere around
5GB.   i must have screwed up royally on that find command.  i don't see
anything wrong with it; i must have retyped it.

anyway, that was my first experience with a file that was too large.  it was
interesting.

peter

-- 
Just upgraded to Woody?  Don't have permission to run X?              linux
In Xwrapper.config, change allowed_users from root to console.          -
-------------------------------------------------------------------    ._.
The only true science is physics. The rest is  [EMAIL PROTECTED]    /v\
simply stamp collecting - Ernest Rutherford    http://www.dirac.org   // \\
-------------------------------------------------------------------   ^^ ^^
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D   rules

PGP signature

Reply via email to