Re: Arg. File > 2GB removal

From: Chris Wedgwood (cw@f00f.org)
Date: Sat Dec 23 2000 - 02:20:03 EST


you don't mention which kernel you are using, but for some time now
ext2fs has been able to handle large files (>2GB) -- and I suspect dd
created such a beast for you

rm probably stat'd the file beforing removing it -- and failed,
because it's either old or uses and old library (which isn't LFS
aware)

  --cw

On Sat, Dec 23, 2000 at 02:16:15AM -0600, Damacus Porteng wrote:
    For grins, I did `dd if=/dev/zero of=testfile bs=1024 count=4000000`
    
    Obviously, with the limits of ext2, this isn't allowed, however, dd continued
    marrily on its way, tho it spouted an error...
    
    I cancelled the dd and went to remove the file, though the following occured:
    root@obfuscated:/home/ftp# rm testfile
    rm: cannot remove `testfile': Value too large for defined data type
    
    'ls' complains about the same. I ran e2fsck -f /dev/hde6 (the partition of
    /home) and it didn't 'find' the problem.
    
    How do I remove this file and reclaim the HDD space?
    
    Thanks,
    
    D.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 23 2000 - 21:00:33 EST