LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ls outputs message "I/O error". (https://www.linuxquestions.org/questions/linux-hardware-18/ls-outputs-message-i-o-error-4175545442/)

stf92 06-15-2015 06:29 PM

ls outputs message "I/O error".
 
Hi: when listing a directory in an NTFS partition I got this:

Code:

bill@server:/win7/Users$ ls -lR
./Usuario/AppData/Local/Microsoft/Windows/Temporary Internet Files/Content.IE5/0S0UP100:
total 4
-rwxrwxrwx 2 root root 3191 May 30 18:42 dnserror[1]*

./Usuario/AppData/Local/Microsoft/Windows/Temporary Internet Files/Content.IE5/M3XB6J8L:
total 4
-rwxrwxrwx 1 root root 1669 Jun 10 20:05 httpErrorPagesScripts[1]*

./Usuario/AppData/Local/Microsoft/Windows/Temporary Internet Files/Content.IE5/NMO21USB:
/bin/ls: cannot access ./Usuario/AppData/Local/Microsoft/Windows/Temporary Internet Files/Content.IE5/NMO21USB/M19[1].jpg: Input/output error
total 0
-????????? ? ? ? ?            ? M19[1].jpg
bill@server:/win7/Users$

What does 'Input/output error' mean? A faulty hard disk? Or some other faulty peripheral?

veerain 06-16-2015 01:41 AM

Which ntfs driver you are using? (Plain kernel one or ntfs-3g)

Check your hard disk for bad sectors (badblocks program).

Check your hard disk SMART status using 'smartctl'.

Check the output of 'dmesg' command.


All times are GMT -5. The time now is 10:08 AM.