Linux – cp: reading `filename’: Input/output error WHY

command linecpfile managementlinux

I wish to know what could be the possible cases for this error:

cp: reading `filename': Input/output error

I am getting this message when I am trying to copy a big file of around 50MB.

Best Answer

  • The most likely problem is a faulty disk, unless the disk is mounted over a network, in that case, I believe network issues could also cause that.

    It is likely that the size impact is statistical, especially in the network case (i.e. the chance of failure increases with size because more operations are involved and each has a chance to fail).

  • Related Question