Cannot access ‘/datadrive’: Input/output error
Dec 15, 2020
In my current job, we had this problem, the OS was RHEL, usually, this error is because the mount point is corrupted, my coworker helped me to troubleshoot using demesg, error:
Solution
- Comment in /etc/fstab the line that is mounting the directory that you can’t read
- Reboot server
- Edit /etc/fstab again, uncomment the line that you comment in step 1
- Execute : sudo mount -a
- Done
In my case, I was sure about the disk was working fine and for this reason, this approach worked fine, after to do reboot is very important to check the fstab file, double-check, double-check, if you have mistakes in the file could your machine never come back : D ( is possible use recovery mode).
I hope this was helpful :)
Cheeeeeeeeeeeeeeers!