Copying files of Windows partition using rsync gives readlink_stat(...) Input/output error (5)
I want to copy all files of a Windows 10 system partition (NTFS) to another partition (NTFS).
I am using rsync under Ubuntu like this:
sudo rsync -axHAWXS --numeric-ids /media/windows /mnt/windows-backupThe problem is that several thousand files cannot be read.
rsync: readlink_stat("/media/windows/Program Files (x86)/Reference Assemblies/Microsoft/Framework/v3.0/de/PresentationFramework.resources.dll") failed: Input/output error (5)
rsync: readlink_stat("/media/windows/Program Files (x86)/Reference Assemblies/Microsoft/Framework/v3.0/de/ReachFramework.resources.dll") failed: Input/output error (5) ...
Upon listing the contents of a directory with those files using
sudo ls -l "/media/windows/Program Files (x86)/Reference Assemblies/Microsoft/Framework/v3.0/de/"I get the following output:
ls: cannot access '/media/windows/Program Files (x86)/Reference Assemblies/Microsoft/Framework/v3.0/de/PresentationFramework.resources.dll': Input/output error
ls: cannot access '/media/windows/Program Files (x86)/Reference Assemblies/Microsoft/Framework/v3.0/de/ReachFramework.resources.dll': Input/output error
...
-????????? ? ? ? ? ? PresentationFramework.resources.dll
-????????? ? ? ? ? ? ReachFramework.resources.dll
...
I listing a few of those files under Windows 10 without any problems fine (file explorer and shell).
I checked the filesystem, it is undamaged. The Windows system is running without any problems.
What is the problem? How can I copy those files?
4 Reset to default