How to remove a file that is corrupted?In Linux (Fedora based), when I type: ls -l I getdrwxr-xr-x.  2 dmiller3 dmiller3     4096 Jul 26 13:57 SomeFile??????????   ? ? ?                   4096 Jul 26 13:57 CorruptedFile  I can't do anything with this CorruptedFile. I can't use it in delete or anything. It's the only file in the entire system that is like this. What causes this, and how can I remove it?File system is ext2.
Remove a corrupted file in a Linux system
filesystems;hardware;files;ext2
you could have been writing to a file during a hard reset, or your hard drive could have problems. a fsck should fix it (you will have to umount the fs to do this). I'd check dmesg and smartctl -a /dev/hdx (latter is part of smartmontools ) to see if your HD is reporting any errors. I'd also run a non-destructive badblocks on the partition.You should also ask yourself why you are running ext2, because journaling tends to help with these kinds of problems.