stat and ls show wrong file size (terabytes wrong)

Posted by WolleTD on Super User See other posts from Super User or by WolleTD
Published on 2013-06-30T20:49:22Z Indexed on 2013/06/30 22:23 UTC
Read the original article Hit count: 220

Filed under:
|
|

Ok, I have a bunch of vCard files, all about 200 to 300 Bytes in size.

While trying to get them archived, I wondered why that takes so long and discovered that there is one file with a wrong size. Both ls and stat are showing a size of about 8.1 Terabytes. That's amazing because my SSD is only about 250 Gigabytes in size.

There are some other files with wrong sizes, too, but this is clearly the biggest one. I already gave it a fsck, but there seem to be no errors in the (ext4) filesystem. How can I get rid of this wrong size?

Thanks, Wolle

© Super User or respective owner

Related posts about linux

Related posts about ext4