rsync: [sender] read errors mapping "file" : Input/output error (5)

Mario Marietto
Mon, 23 Dec 2024 10:14:32 -0000

>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.

Yes,I tried cp and I got the same error,that usually happens before
rsync,that is able to complete the transfer until 99%.
I've detached and reattached the USB disks,but I still see the error.

On Mon, Dec 23, 2024 at 11:07?AM Paul Slootman via rsync <
rsync at lists.samba.org> wrote:

> 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
>
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>


--
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20241223/486c24ce/attachment.htm>