Sunday, June 28, 2015

linux - Error reading from file: Input/output error



Good day everyone
I do not understand why i can't access the file on my flash drive. I edited the said file less than 2 minutes, saved it, made sure to click the unmount button and restarted my computer (i learned to click the unmount the hard way). Now when i tried to access the file its giving me the following error:
Unexpected error: Error reading from file: Input/output error


when i try to copy it to another location on the drive i get the following
Error opening file '/media/ubuntu/Drive Name/New Folder/file name': Read-only file system


When i copy the file to the desktop i get the following:
Error splicing file: Input/output error


But when i am able to open the file and a SIGNIFICANT AMOUNT of detail is missing. about 6 months worth of detail. Please i must recover the full amount of details in that document. Since i added info and saved it under that same name, will disk carving be of any help?


Thank you very much


Answer



Sound like a defective/corrupted drive/file/file system.


This is important:


You should immediately make an "raw" image of the drive and try to restore/recover the file form the image. Do not try to write to the flash drive. This might result on more loss. Better don't use the drive at all except for making the image.


Once you have the image, try to mount it and see if the corruption is only on the one file. After that you have to start to recover the file manually but it might not be possible at all. Please post the specific problems for further help.


And backup your data on a daily basis so you won't have to learn it the hard way again!


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...