Can't copy file (I/O error) Ubuntu Server

Posted by QxQ on Ask Ubuntu See other posts from Ask Ubuntu or by QxQ
Published on 2013-06-28T20:33:02Z Indexed on 2013/06/28 22:29 UTC
Read the original article Hit count: 197

Filed under:
|
|
|

I'm running Ubuntu Server 12.04, and basically found out that a couple of files aren't behaving like they should.

The file name is r.-1.-1.mca, and I've tried using this terminal command sudo cp r.-1.-1.mca ../

The hard drive is working/thinking for a while, then spits this back out:

cp: reading `r.-1.-1.mca': Input/output error
cp: failed to extend `../r.-1.-1.mca': Input/output error

I have another file behaving like this. My guess is that these files are corrupt, so I tried running the server in recovery mode and it told me to check the file system. However, it didn't come up with any errors.

Is there a way to repair these files so I can use them normally again?

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about server