Mario Marietto
2024-Dec-23 09:06 UTC
rsync: [sender] read errors mapping "file" : Input/output error (5)
Hello. Everytime I try to copy a file from one USB disk to another one (does not matter which one),I get this kind of error : mario at Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# rsync -avxHAXP FreeBSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD --ignore-existing sending incremental file list FreeBSD-141-UFS-sdc-DarkMatter.img 320,072,933,376 100% 83.57MB/s 1:00:52 (xfr#1, to-chk=0/1) rsync: [sender] read errors mapping "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatter.img": Input/output error (5) WARNING: FreeBSD-141-UFS-sdc-DarkMatter.img failed verification -- update discarded (will try again). FreeBSD-141-UFS-sdc-DarkMatter.img 320,072,933,376 100% 76.40MB/s 1:06:35 (xfr#2, to-chk=0/1) rsync: [sender] read errors mapping "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatter.img": Input/output error (5) ERROR: FreeBSD-141-UFS-sdc-DarkMatter.img failed verification -- update discarded. sent 640,302,152,539 bytes received 60 bytes 83,716,042.70 bytes/sec total size is 320,072,933,376 speedup is 0.50 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1334) [sender=3.2.4dev] Can I know why ? And there is a parameter that I can use to fix that error ? "--ignore-existing" is a parameter that I've got from here : How to interpret and fix a Input/output error in Linux? <https://superuser.com/questions/676649/how-to-interpret-and-fix-a-input-output-error-in-linux> but it didn't work. From the post it's not sure how to fix the error. -- Mario. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20241223/e3e7b84a/attachment.htm>
Paul Slootman
2024-Dec-23 09:48 UTC
rsync: [sender] read errors mapping "file" : Input/output error (5)
On Mon 23 Dec 2024, Mario Marietto via rsync wrote:> > Everytime I try to copy a file from one USB disk to another one (does not > matter which one),I get this kind of error : > > > mario at Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# rsync > -avxHAXP FreeBSD-141-UFS-sdc-DarkMatter.img > /mnt/sdj1/OS/Backup/BSD/FreeBSD --ignore-existing > > sending incremental file list > FreeBSD-141-UFS-sdc-DarkMatter.img > > 320,072,933,376 100% 83.57MB/s 1:00:52 (xfr#1, to-chk=0/1) > rsync: [sender] read errors mapping > "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatter.img": > Input/output error (5)Input/output error (5) usually indicates some hardware problem, not related to the application. As it's just a single file you're trying to copy, why not use cp? Although I expect that cp will also throw an IO error at some point. You could use --inplace --append --partial with rsync and repeat the command until it finally completes. Paul
Reasonably Related Threads
- rsync: [sender] read errors mapping "file" : Input/output error (5)
- rsync: [sender] read errors mapping "file" : Input/output error (5)
- rsync: [sender] read errors mapping "file" : Input/output error (5)
- Re: rsync: [sender] read errors mapping "file" : Input/output error (5)
- rsync: [sender] read errors mapping "file" : Input/output error (5)