Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am getting Input/output error while opening a folder in 12.04. Also, I am not able to see file in another folder.

I am getting below error. Please help me recovering the folder.

Error: Error when getting information for file '/media/Data/softwares/windows': Input/output error
Please select another viewer and try again.
share|improve this question
What filesystem is it on? – Untitled Aug 29 '12 at 2:28
@mateo_salta: I am using my hard drive, yes, inside my computer – Dinesh Aug 30 '12 at 1:50
@SahandMozaffari: it is on NTFS – Dinesh Aug 30 '12 at 1:51
is it a second partition on the drive for windows? do you use hibernate on windows? – Mateo Aug 30 '12 at 1:52
actually i have three partitions, one for Ubuntu, one for Windows and another for data. I am facing problems in data partition for a folder. Also, i am not able to open this folder even from Windows. I dont use hibernate. – Dinesh Aug 30 '12 at 1:54

It is likely that your Data disk may be dying or at least have it's filesystem corrupted (which, again, is often a symptom of the disk dying).

Firstly make sure you have backups of all important data on that disk.

Then you can check S.M.A.R.T. status of the drive and run self-checks. If the checks say the drive is OK then run a filesystem check utility, depending on the type of filesystem you have on that drive.

  1. Read the wikipedia article

  2. Install smartmontools package

  3. Read Ubuntu wiki

  4. Run "long" or "extended" test on the drive with sudo smartctl -t long /dev/sdX, wait for it to finish, see if the test completes successfully, possibly paste the output of sudo smartctl -a /dev/sdX here

share|improve this answer
I had run self chek, and it says drive is ok. But, can you please explain what S.M.A.R.T is, and how to check it? – Dinesh Aug 30 '12 at 1:53
@Dinesh: I've added instructions and links – Sergey Aug 30 '12 at 3:07
Thank you very much. – Dinesh Aug 30 '12 at 3:16
I have installed and run teh smartmontools.. please check the result of sudo smartctl -a here – Dinesh Sep 1 '12 at 2:34
Have you ran sudo smartctl -t long /dev/sdX? This should schedule a "long" self-test, which should take about an hour to finish. At the moment there are some errors logged, but they all seem to have happened a few hundred hours ago. To be honest, I'm always having trouble interpreting the output from smartctl :) – Sergey Sep 1 '12 at 8:25

It could mean that the directory is FRAGMENTED or that the Hard-Disk isn't reading right from the surface and it wont load the folder. This happens to me sometimes try re-installing ubuntu

share|improve this answer
I'm sure buying a new platform would also fix the problem , but does that count as a solution? – Untitled Aug 29 '12 at 2:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.