Hi
I have a new hdd installed ,and sometimes if i start a session or ftp download while downloading sometimes it creates a
./filename.type Input/output error
so in that case i can-not overwrite ,rename ,remove ,or place a file with the same name on that dir.
How to prevent this and is there any possibility to remove the file ,i had some suggestion to remove it using it`s inode but on ls-l or any ls option it is not outputting inode value.
PS: hdd is formatted ext3 and it is mounted with that command
mount /dev/hda3 /tmp/hdd ext3 rw 0 0
If you're having I/O errors, you've got bigger problems than removing the bad files. That's not normal behavior. The disk may be dying.
well if i format this disk it`s become a very healthy device ,but only on download cases it causes that .
But what im looking for ,is there a possibility to remove these I/O error files ,to be able to copy some files with that name because it is not allowing me .
You will need to repair the filesystem with fsck from a livecd, probably. You may not get the lost data but any remaining bad files should be deletable after.
Whether they happen during download or not, these I/O errors are still extremely abnormal, very bad, and run the disk of corrupting your data in worse ways than creating undeletable files; so it really deserves more attention than just fixing bad files after the fact. If the disk itself is fine(though it is the bit I suspect the most, being it's recently replaced; or perhaps the procol, is the new drive a faster revision of SATA than the old?) there may be a device driver or IRQ routing problem. Try booting with the kernel parameter "pci=routeirq" and see if it stops generating bad files.