input/output error for files in encrypted ext4 partition.

Hi,

I’ve got input/output error from files in encrypted ext4 partition (external hdd), and I cannot delete them. What can I do to fix this? I don’t need to recover them, I just need to delete them.

-Joon

So I don’t know how you deal with these files except to either:

A: Ignore them

OR

B: Backup All Good Files and then Delete the Partition.

Then, reconsider using an encrypted partition next time.

Thank You,

You can’t delete them. Normaly computers tell you what they do or don’t by giving messages. Is there an error message? Please show us what happens when you try to delete them, thus we know how you try that and what the answer is. We are not clairvoyant. Something like

ls -l the-naughty-file
rm the-naughty-file
ls -l the-naught-file

wouds show everybody that the file exists and it’s details, that you tried to delete and what the systems reaction is, and if it is removed or not as a prove.
Much better then any long line story.

Oh Ok. But there is really no other information.

$ ls
ls: cannot access just1 3.txt: Input/output error
ls: cannot access just2 12.txt: Input/output error
ls: cannot access just1 10.txt: Input/output error
ls: cannot access just2 2.txt: Input/output error
ls: cannot access just1 12.txt: Input/output error
ls: cannot access just1 7.txt: Input/output error
ls: cannot access just1 4.txt: Input/output error
ls: cannot access just2 1.txt: Input/output error

Just as I said, whatevery I do, I get Input/output error.

Thank you!
Joon

First: I asked for* ls -l*, not ls. Does not matter, but I always wander why copy/paste is working that way on some systems.

What when you go up one directory and then ask about the directory where these files are in. I personaly would try all these sort of things.

Then, did you try an fsck on the filesystem?