Linux execution LS error: LS: cannot open directory.: input / output error solution

Linux executes LS error: LS: cannot open Directory.: Input/output error

error message is as follows
analysis: the above situation is usually caused by hard disk problems resulting in file system damage 4. Analysis: the above situation is usually caused by a hard disk problem file system corruption solution: 1. Try restarting the system if you can. 2. Use FSCK for file system repair, which requires unmounting the disk mount first and then using: fSCk-y /dev/sdb1; When the fix is complete, remount the directory and re-enter the directory to see the problem resolved.

Read More: