The problem of Input/output error error in Linux ls command

Today, the Linux machine suddenly found a problem: the directory cannot be accessed, and the following error occurs when running the ls command.



 


Run the df -h command to view the system hard disk condition.



 



Then use fdisk -h or lsblk to see which hard disks the machine has. Found only sdb and sdc. Then unmount and remount the correct disk to /webdata: umount /dev/sda mount /dev/sdc /webdata



 
finally accessible.
Original link: http://woqilin.blogspot.com/2016/06/linux-ls-inputoutput-error.html

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326591611&siteId=291194637