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

2024-12-24 Thread Hardy via rsync



On 24.12.24 09:53, Mario Marietto via rsync wrote:

There are times when a large file is copied up to 99% and then deleted after 
having received the error. Other times when the error occurs earlier and only a 
part of it is copied. Does it make sense to calculate the checksum if in both 
cases in output I don't have the same information that there is in input ? 
Because in the first case it is totally deleted and in the second case I have 
only a small part of it.


No, you use chksum only to verify for exact same content. Use it in the windows 
case to verify the copy worked without error, and we not just believe it, when 
rsync and windows don't tell us about errors.

In the other cases we already know checksums will fail, the files cannot be the 
same.

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


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

2024-12-24 Thread Hardy via rsync




On 23.12.24 22:06, Mario Marietto wrote:

-> Did you re-read the data and compare checksums ?

Don't know how to do this.


Files can be considered binary identical if they do have the same checksums.

e.g.
# md5sum [files]

Using windows:
https://windowsreport.com/checksum-on-windows/

c:certutil -hashfile [file] MD5

These are common ways to check if copies, downloads etc are correct or to see 
if files have been manipulated (by malware etc) since last check

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


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

2024-12-24 Thread Mario Marietto via rsync
 There are times when a large file is copied up to 99% and then deleted
after having received the error. Other times when the error occurs earlier
and only a part of it is copied. Does it make sense to calculate the
checksum if in both cases in output I don't have the same information that
there is in input ? Because in the first case it is totally deleted and in
the second case I have only a small part of it.

On Tue, Dec 24, 2024 at 6:00 AM Robin Lee Powell <
[email protected]> wrote:

> Given the "it only happens at the end of large files" part of the
> discussion, which I had missed at first, what file system is on the
> drives in question and how large are the files?
>
> And yeah like someone else said you should try checksumming in
> windows; it's a way to check whether the contents are the same
> before and after the copy.
>
> https://stackoverflow.com/questions/478722/what-is-the-best-way-to-calculate-a-checksum-for-a-file-that-is-on-my-machine
>
> On Mon, Dec 23, 2024 at 11:02:21PM +0100, Mario Marietto via rsync wrote:
> > -> Are you running windows on the same hardware as Linux/BSD ? Is it a
> > dual-boot system?
> >
> > I have a  lot of disks connected to the PC (USB,Sata.M1,SSD) where I have
> > installed different OS,like Linux (Ubuntu 24.04),FreeBSD (14.1 and
> > 14.2),Windows (11).
> >
> > ---> If you have different systems for windows vslinux, it's possible
> there
> > is a HW issue with one of them.
> >
> > Maybe. I will conduct some hardware tests.
> >
> > On Mon, Dec 23, 2024 at 11:25 PM Tomasz Ciolek 
> > wrote:
> >
> > > Mario,
> > >
> > > Are you running windows on the same hardware as Linux/BSD ? Is it a
> > > dual-boot system?
> > >
> > > If you have different systems for windows vslinux, it's possible there
> is
> > > a HW issue with one of them.
> > >
> > >
> > > Tom
> > >
> > >
> > > On 24 December 2024 7:44:16 am GMT+12:00, Mario Marietto via rsync <
> > > [email protected]> wrote:
> > >
> > >> What would you think if I told you that using Windows I no longer had
> > >> that problem ?
> > >> Would you still think that there are hardware problems ?
> > >> And if so, why would they only manifest themselves using Linux and
> > >> FreeBSD and not using Windows?
> > >>
> > >> On Mon, Dec 23, 2024 at 9:38 PM Robin Lee Powell <
> > >> [email protected]> wrote:
> > >>
> > >>> Then you get to look at other hardware; CPU, RAM, motherboard.  But
> > >>> it's almost certainly a hardware problem.  Start with a RAM test,
> > >>> those are pretty easy, but given the error, mobo is more likely IMO.
> > >>>
> > >>> On Mon, Dec 23, 2024 at 07:05:37PM +0100, Mario Marietto wrote:
> > >>> > And I forgot to mention that I see the error even when trying to
> > >>> transfer
> > >>> > files from and to a new disk,not an USB disk,bought some days
> ago,model
> > >>> > Crucial BX500 SATA SSD 480GB,SSD. So,I'm not able to believe that
> even
> > >>> this
> > >>> > disk is damaged. This is a very strange situation.
> > >>> >
> > >>> >
> > >>> >
> > >>> > On Mon, Dec 23, 2024 at 7:00 PM Mario Marietto <
> [email protected]
> > >>> >
> > >>> > wrote:
> > >>> >
> > >>> > > >Almost certainly your drive is going bad.  On Linux I'd tell
> you to
> > >>> check
> > >>> > > dmesg for drive errors, I don't know what the FreeBSD
> > >>> > > equivalent is.  But I strongly recommend that you treat that
> drive
> > >>> as
> > >>> > > "going to fail any second".
> > >>> > >
> > >>> > > I'm not sure that this is the reason. I see the error regardless
> of
> > >>> the
> > >>> > > USB disks that I use. And I have a lot of USB disks,10 disks.
> > >>> > > No,I don't see disk errors on dmesg. I see the errors on Linux
> and
> > >>> > > FreeBSD. Don't know if I see them also using Windows.
> > >>> > > Now I'm trying to transfer some files using Windows 11 because I
> > >>> want to
> > >>> > > exclude some variables from the equation.
> > >>> > >
> > >>> > > On Mon, Dec 23, 2024 at 7:49 PM Robin Lee Powell <
> > >>> > > [email protected]> wrote:
> > >>> > >
> > >>> > >> Almost certainly your drive is going bad.  On Linux I'd tell
> you to
> > >>> > >> check dmesg for drive errors, I don't know what the FreeBSD
> > >>> > >> equivalent is.  But I strongly recommend that you treat that
> drive
> > >>> > >> as "going to fail any second".
> > >>> > >>
> > >>> > >> On Mon, Dec 23, 2024 at 12:56:09PM +0100, Mario Marietto via
> rsync
> > >>> wrote:
> > >>> > >> > Using the parameters below the file hasn't been removed at
> 100%
> > >>> even if
> > >>> > >> I
> > >>> > >> > got the same error :
> > >>> > >> >
> > >>> > >> > root@Z390-AORUS-PRO-DEST
> :/mnt/zroot-133/A_FILES/Backup/FreeBSD#
> > >>> rsync
> > >>> > >> > --inplace --append --partial Free
> > >>> > >> > BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD
> > >>> > >> >
> > >>> > >> > rsync: [sender] read errors mapping
> > >>> > >> >
> > >>> "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
> > >>> > >> > 

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

2024-12-23 Thread Mario Marietto via rsync
-> Are you running windows on the same hardware as Linux/BSD ? Is it a
dual-boot system?

I have a  lot of disks connected to the PC (USB,Sata.M1,SSD) where I have
installed different OS,like Linux (Ubuntu 24.04),FreeBSD (14.1 and
14.2),Windows (11).

---> If you have different systems for windows vslinux, it's possible there
is a HW issue with one of them.

Maybe. I will conduct some hardware tests.

On Mon, Dec 23, 2024 at 11:25 PM Tomasz Ciolek 
wrote:

> Mario,
>
> Are you running windows on the same hardware as Linux/BSD ? Is it a
> dual-boot system?
>
> If you have different systems for windows vslinux, it's possible there is
> a HW issue with one of them.
>
>
> Tom
>
>
> On 24 December 2024 7:44:16 am GMT+12:00, Mario Marietto via rsync <
> [email protected]> wrote:
>
>> What would you think if I told you that using Windows I no longer had
>> that problem ?
>> Would you still think that there are hardware problems ?
>> And if so, why would they only manifest themselves using Linux and
>> FreeBSD and not using Windows?
>>
>> On Mon, Dec 23, 2024 at 9:38 PM Robin Lee Powell <
>> [email protected]> wrote:
>>
>>> Then you get to look at other hardware; CPU, RAM, motherboard.  But
>>> it's almost certainly a hardware problem.  Start with a RAM test,
>>> those are pretty easy, but given the error, mobo is more likely IMO.
>>>
>>> On Mon, Dec 23, 2024 at 07:05:37PM +0100, Mario Marietto wrote:
>>> > And I forgot to mention that I see the error even when trying to
>>> transfer
>>> > files from and to a new disk,not an USB disk,bought some days ago,model
>>> > Crucial BX500 SATA SSD 480GB,SSD. So,I'm not able to believe that even
>>> this
>>> > disk is damaged. This is a very strange situation.
>>> >
>>> >
>>> >
>>> > On Mon, Dec 23, 2024 at 7:00 PM Mario Marietto >> >
>>> > wrote:
>>> >
>>> > > >Almost certainly your drive is going bad.  On Linux I'd tell you to
>>> check
>>> > > dmesg for drive errors, I don't know what the FreeBSD
>>> > > equivalent is.  But I strongly recommend that you treat that drive
>>> as
>>> > > "going to fail any second".
>>> > >
>>> > > I'm not sure that this is the reason. I see the error regardless of
>>> the
>>> > > USB disks that I use. And I have a lot of USB disks,10 disks.
>>> > > No,I don't see disk errors on dmesg. I see the errors on Linux and
>>> > > FreeBSD. Don't know if I see them also using Windows.
>>> > > Now I'm trying to transfer some files using Windows 11 because I
>>> want to
>>> > > exclude some variables from the equation.
>>> > >
>>> > > On Mon, Dec 23, 2024 at 7:49 PM Robin Lee Powell <
>>> > > [email protected]> wrote:
>>> > >
>>> > >> Almost certainly your drive is going bad.  On Linux I'd tell you to
>>> > >> check dmesg for drive errors, I don't know what the FreeBSD
>>> > >> equivalent is.  But I strongly recommend that you treat that drive
>>> > >> as "going to fail any second".
>>> > >>
>>> > >> On Mon, Dec 23, 2024 at 12:56:09PM +0100, Mario Marietto via rsync
>>> wrote:
>>> > >> > Using the parameters below the file hasn't been removed at 100%
>>> even if
>>> > >> I
>>> > >> > got the same error :
>>> > >> >
>>> > >> > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD#
>>> rsync
>>> > >> > --inplace --append --partial Free
>>> > >> > BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD
>>> > >> >
>>> > >> > rsync: [sender] read errors mapping
>>> > >> >
>>> "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
>>> > >> > er.img": Input/output error (5)
>>> > >> > ^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
>>> > >> > rsync.c(701) [sender=3.2.4dev]
>>> > >> > rsync error: received SIGUSR1 (code 19) at main.c(1598)
>>> > >> [generator=3.2.4dev]
>>> > >> >
>>> > >> > Can I know the reasons why I get those errors ?
>>> > >> >
>>> > >> > On Mon, Dec 23, 2024 at 11:30 AM Mario Marietto <
>>> [email protected]
>>> > >> >
>>> > >> > wrote:
>>> > >> >
>>> > >> > > Happened again :
>>> > >> > >
>>> > >> > > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD#
>>> sudo
>>> > >> > > rsync -azvvP FreeBSD-141-UFS-sdc-DarkMatter.img
>>> > >> > > /mnt/sdj1/OS/Backup/BSD/FreeBSD
>>> > >> > > sending incremental file list
>>> > >> > > delta-transmission disabled for local transfer or --whole-file
>>> > >> > > FreeBSD-141-UFS-sdc-DarkMatter.img
>>> > >> > > 320,072,933,376 *100%*   80.31MB/s1:03:20 (xfr#1,
>>> to-chk=0/1)
>>> > >> > >
>>> > >> > > rsync: [sender] read errors mapping
>>> > >> > >
>>> "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
>>> > >> > > er.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
>>> > >> > >  2,391,146,496   0%  183.65MB/s0:28:09  ^C
>>> > >> > >
>>> > >> > >
>>> > >> > >
>>> > >> > > On Mon, Dec 23, 2024 at 11:14 AM Mario Marietto

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

2024-12-23 Thread Tomasz Ciolek via rsync
Mario,

Are you running windows on the same hardware as Linux/BSD ? Is it a dual-boot 
system?

If you have different systems for windows vslinux, it's possible there is a HW 
issue with one of them. 


Tom

On 24 December 2024 7:44:16 am GMT+12:00, Mario Marietto via rsync 
 wrote:
> What would you think if I told you that using Windows I no longer had that
>problem ?
>Would you still think that there are hardware problems ?
>And if so, why would they only manifest themselves using Linux and FreeBSD
>and not using Windows?
>
>On Mon, Dec 23, 2024 at 9:38 PM Robin Lee Powell <
>[email protected]> wrote:
>
>> Then you get to look at other hardware; CPU, RAM, motherboard.  But
>> it's almost certainly a hardware problem.  Start with a RAM test,
>> those are pretty easy, but given the error, mobo is more likely IMO.
>>
>> On Mon, Dec 23, 2024 at 07:05:37PM +0100, Mario Marietto wrote:
>> > And I forgot to mention that I see the error even when trying to transfer
>> > files from and to a new disk,not an USB disk,bought some days ago,model
>> > Crucial BX500 SATA SSD 480GB,SSD. So,I'm not able to believe that even
>> this
>> > disk is damaged. This is a very strange situation.
>> >
>> >
>> >
>> > On Mon, Dec 23, 2024 at 7:00 PM Mario Marietto 
>> > wrote:
>> >
>> > > >Almost certainly your drive is going bad.  On Linux I'd tell you to
>> check
>> > > dmesg for drive errors, I don't know what the FreeBSD
>> > > equivalent is.  But I strongly recommend that you treat that drive  as
>> > > "going to fail any second".
>> > >
>> > > I'm not sure that this is the reason. I see the error regardless of the
>> > > USB disks that I use. And I have a lot of USB disks,10 disks.
>> > > No,I don't see disk errors on dmesg. I see the errors on Linux and
>> > > FreeBSD. Don't know if I see them also using Windows.
>> > > Now I'm trying to transfer some files using Windows 11 because I want
>> to
>> > > exclude some variables from the equation.
>> > >
>> > > On Mon, Dec 23, 2024 at 7:49 PM Robin Lee Powell <
>> > > [email protected]> wrote:
>> > >
>> > >> Almost certainly your drive is going bad.  On Linux I'd tell you to
>> > >> check dmesg for drive errors, I don't know what the FreeBSD
>> > >> equivalent is.  But I strongly recommend that you treat that drive
>> > >> as "going to fail any second".
>> > >>
>> > >> On Mon, Dec 23, 2024 at 12:56:09PM +0100, Mario Marietto via rsync
>> wrote:
>> > >> > Using the parameters below the file hasn't been removed at 100%
>> even if
>> > >> I
>> > >> > got the same error :
>> > >> >
>> > >> > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD#
>> rsync
>> > >> > --inplace --append --partial Free
>> > >> > BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD
>> > >> >
>> > >> > rsync: [sender] read errors mapping
>> > >> > "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
>> > >> > er.img": Input/output error (5)
>> > >> > ^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
>> > >> > rsync.c(701) [sender=3.2.4dev]
>> > >> > rsync error: received SIGUSR1 (code 19) at main.c(1598)
>> > >> [generator=3.2.4dev]
>> > >> >
>> > >> > Can I know the reasons why I get those errors ?
>> > >> >
>> > >> > On Mon, Dec 23, 2024 at 11:30 AM Mario Marietto <
>> [email protected]
>> > >> >
>> > >> > wrote:
>> > >> >
>> > >> > > Happened again :
>> > >> > >
>> > >> > > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD#
>> sudo
>> > >> > > rsync -azvvP FreeBSD-141-UFS-sdc-DarkMatter.img
>> > >> > > /mnt/sdj1/OS/Backup/BSD/FreeBSD
>> > >> > > sending incremental file list
>> > >> > > delta-transmission disabled for local transfer or --whole-file
>> > >> > > FreeBSD-141-UFS-sdc-DarkMatter.img
>> > >> > > 320,072,933,376 *100%*   80.31MB/s1:03:20 (xfr#1, to-chk=0/1)
>> > >> > >
>> > >> > > rsync: [sender] read errors mapping
>> > >> > >
>> "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
>> > >> > > er.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
>> > >> > >  2,391,146,496   0%  183.65MB/s0:28:09  ^C
>> > >> > >
>> > >> > >
>> > >> > >
>> > >> > > On Mon, Dec 23, 2024 at 11:14 AM Mario Marietto <
>> > >> [email protected]>
>> > >> > > wrote:
>> > >> > >
>> > >> > >> >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 <
>> > >> > >> [email protected]> wrote:
>> > >> > >>
>> > >> > >

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

2024-12-23 Thread Mario Marietto via rsync
-> Did you re-read the data and compare checksums ?

Don't know how to do this.

-> 2nd thought: What file systems do you use, and is there a peculiar size
of the file, hitting a limit?
Do I read this correct, rsync throws the error at
320,072,933,376, then continues to
640,302,152,539 bytes (file size) ?

I don't know. What I know is that almost every big file reaches the 99 % /
100% of completeness and then I get the IO error and the file is deleted.
Anyway,the usage of these parameters helped me to complete and keep the
file saved on the disk even if I got the error :

root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# rsync
--inplace --append --partial Free
BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD

rsync: [sender] read errors mapping
"/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatter.img":
Input/output error (5)
^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
rsync.c(701) [sender=3.2.4dev]
rsync error: received SIGUSR1 (code 19) at main.c(1598) [generator=3.2.4dev]

My sensation is that there is some bug or something that I have installed
on the Linux and FreeBSD file system (ext4 and ZFS) that interferes with
the transfers of big files. Maybe a disk driver of some sort.


On Mon, Dec 23, 2024 at 10:54 PM Hardy via rsync 
wrote:

>
> On 23.12.24 20:44, Mario Marietto via rsync wrote:
> > What would you think if I told you that using Windows I no longer had
> that problem ?
> > Would you still think that there are hardware problems ?
> > And if so, why would they only manifest themselves using Linux and
> FreeBSD and not using Windows?
>
> Did you re-read the data and compare checksums?
> Sometimes Windows is not so good in passing HW errors to user programs.
>
> 2nd thought: What file systems do you use, and is there a peculiar size of
> the file, hitting a limit?
> Do I read this correct, rsync throws the error at
> 320,072,933,376, then continues to
> 640,302,152,539 bytes (file size) ?
>
> Hardy
>
> --
> 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.
-- 
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


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

2024-12-23 Thread Hardy via rsync



On 23.12.24 20:44, Mario Marietto via rsync wrote:

What would you think if I told you that using Windows I no longer had that 
problem ?
Would you still think that there are hardware problems ?
And if so, why would they only manifest themselves using Linux and FreeBSD and 
not using Windows?


Did you re-read the data and compare checksums?
Sometimes Windows is not so good in passing HW errors to user programs.

2nd thought: What file systems do you use, and is there a peculiar size of the 
file, hitting a limit?
Do I read this correct, rsync throws the error at
320,072,933,376, then continues to
640,302,152,539 bytes (file size) ?

Hardy

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


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

2024-12-23 Thread Mario Marietto via rsync
 What would you think if I told you that using Windows I no longer had that
problem ?
Would you still think that there are hardware problems ?
And if so, why would they only manifest themselves using Linux and FreeBSD
and not using Windows?

On Mon, Dec 23, 2024 at 9:38 PM Robin Lee Powell <
[email protected]> wrote:

> Then you get to look at other hardware; CPU, RAM, motherboard.  But
> it's almost certainly a hardware problem.  Start with a RAM test,
> those are pretty easy, but given the error, mobo is more likely IMO.
>
> On Mon, Dec 23, 2024 at 07:05:37PM +0100, Mario Marietto wrote:
> > And I forgot to mention that I see the error even when trying to transfer
> > files from and to a new disk,not an USB disk,bought some days ago,model
> > Crucial BX500 SATA SSD 480GB,SSD. So,I'm not able to believe that even
> this
> > disk is damaged. This is a very strange situation.
> >
> >
> >
> > On Mon, Dec 23, 2024 at 7:00 PM Mario Marietto 
> > wrote:
> >
> > > >Almost certainly your drive is going bad.  On Linux I'd tell you to
> check
> > > dmesg for drive errors, I don't know what the FreeBSD
> > > equivalent is.  But I strongly recommend that you treat that drive  as
> > > "going to fail any second".
> > >
> > > I'm not sure that this is the reason. I see the error regardless of the
> > > USB disks that I use. And I have a lot of USB disks,10 disks.
> > > No,I don't see disk errors on dmesg. I see the errors on Linux and
> > > FreeBSD. Don't know if I see them also using Windows.
> > > Now I'm trying to transfer some files using Windows 11 because I want
> to
> > > exclude some variables from the equation.
> > >
> > > On Mon, Dec 23, 2024 at 7:49 PM Robin Lee Powell <
> > > [email protected]> wrote:
> > >
> > >> Almost certainly your drive is going bad.  On Linux I'd tell you to
> > >> check dmesg for drive errors, I don't know what the FreeBSD
> > >> equivalent is.  But I strongly recommend that you treat that drive
> > >> as "going to fail any second".
> > >>
> > >> On Mon, Dec 23, 2024 at 12:56:09PM +0100, Mario Marietto via rsync
> wrote:
> > >> > Using the parameters below the file hasn't been removed at 100%
> even if
> > >> I
> > >> > got the same error :
> > >> >
> > >> > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD#
> rsync
> > >> > --inplace --append --partial Free
> > >> > BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD
> > >> >
> > >> > rsync: [sender] read errors mapping
> > >> > "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
> > >> > er.img": Input/output error (5)
> > >> > ^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
> > >> > rsync.c(701) [sender=3.2.4dev]
> > >> > rsync error: received SIGUSR1 (code 19) at main.c(1598)
> > >> [generator=3.2.4dev]
> > >> >
> > >> > Can I know the reasons why I get those errors ?
> > >> >
> > >> > On Mon, Dec 23, 2024 at 11:30 AM Mario Marietto <
> [email protected]
> > >> >
> > >> > wrote:
> > >> >
> > >> > > Happened again :
> > >> > >
> > >> > > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD#
> sudo
> > >> > > rsync -azvvP FreeBSD-141-UFS-sdc-DarkMatter.img
> > >> > > /mnt/sdj1/OS/Backup/BSD/FreeBSD
> > >> > > sending incremental file list
> > >> > > delta-transmission disabled for local transfer or --whole-file
> > >> > > FreeBSD-141-UFS-sdc-DarkMatter.img
> > >> > > 320,072,933,376 *100%*   80.31MB/s1:03:20 (xfr#1, to-chk=0/1)
> > >> > >
> > >> > > rsync: [sender] read errors mapping
> > >> > >
> "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
> > >> > > er.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
> > >> > >  2,391,146,496   0%  183.65MB/s0:28:09  ^C
> > >> > >
> > >> > >
> > >> > >
> > >> > > On Mon, Dec 23, 2024 at 11:14 AM Mario Marietto <
> > >> [email protected]>
> > >> > > wrote:
> > >> > >
> > >> > >> >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 <
> > >> > >> [email protected]> 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@Z390-AORUS-PRO-DEST
> :/mnt/zroot-133/A_FILES/Backup/FreeBSD#
> > >> rsync
> > >> > >>> > -avxHAXP FreeBSD-14

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

2024-12-23 Thread Mario Marietto via rsync
And I forgot to mention that I see the error even when trying to transfer
files from and to a new disk,not an USB disk,bought some days ago,model
Crucial BX500 SATA SSD 480GB,SSD. So,I'm not able to believe that even this
disk is damaged. This is a very strange situation.



On Mon, Dec 23, 2024 at 7:00 PM Mario Marietto 
wrote:

> >Almost certainly your drive is going bad.  On Linux I'd tell you to check
> dmesg for drive errors, I don't know what the FreeBSD
> equivalent is.  But I strongly recommend that you treat that drive  as
> "going to fail any second".
>
> I'm not sure that this is the reason. I see the error regardless of the
> USB disks that I use. And I have a lot of USB disks,10 disks.
> No,I don't see disk errors on dmesg. I see the errors on Linux and
> FreeBSD. Don't know if I see them also using Windows.
> Now I'm trying to transfer some files using Windows 11 because I want to
> exclude some variables from the equation.
>
> On Mon, Dec 23, 2024 at 7:49 PM Robin Lee Powell <
> [email protected]> wrote:
>
>> Almost certainly your drive is going bad.  On Linux I'd tell you to
>> check dmesg for drive errors, I don't know what the FreeBSD
>> equivalent is.  But I strongly recommend that you treat that drive
>> as "going to fail any second".
>>
>> On Mon, Dec 23, 2024 at 12:56:09PM +0100, Mario Marietto via rsync wrote:
>> > Using the parameters below the file hasn't been removed at 100% even if
>> I
>> > got the same error :
>> >
>> > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# rsync
>> > --inplace --append --partial Free
>> > BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD
>> >
>> > rsync: [sender] read errors mapping
>> > "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
>> > er.img": Input/output error (5)
>> > ^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
>> > rsync.c(701) [sender=3.2.4dev]
>> > rsync error: received SIGUSR1 (code 19) at main.c(1598)
>> [generator=3.2.4dev]
>> >
>> > Can I know the reasons why I get those errors ?
>> >
>> > On Mon, Dec 23, 2024 at 11:30 AM Mario Marietto > >
>> > wrote:
>> >
>> > > Happened again :
>> > >
>> > > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# sudo
>> > > rsync -azvvP FreeBSD-141-UFS-sdc-DarkMatter.img
>> > > /mnt/sdj1/OS/Backup/BSD/FreeBSD
>> > > sending incremental file list
>> > > delta-transmission disabled for local transfer or --whole-file
>> > > FreeBSD-141-UFS-sdc-DarkMatter.img
>> > > 320,072,933,376 *100%*   80.31MB/s1:03:20 (xfr#1, to-chk=0/1)
>> > >
>> > > rsync: [sender] read errors mapping
>> > > "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
>> > > er.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
>> > >  2,391,146,496   0%  183.65MB/s0:28:09  ^C
>> > >
>> > >
>> > >
>> > > On Mon, Dec 23, 2024 at 11:14 AM Mario Marietto <
>> [email protected]>
>> > > wrote:
>> > >
>> > >> >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 <
>> > >> [email protected]> 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@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/s1: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:
>> > >>> ht

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

2024-12-23 Thread Mario Marietto via rsync
 >Almost certainly your drive is going bad.  On Linux I'd tell you to check
dmesg for drive errors, I don't know what the FreeBSD
equivalent is.  But I strongly recommend that you treat that drive  as
"going to fail any second".

I'm not sure that this is the reason. I see the error regardless of the USB
disks that I use. And I have a lot of USB disks,10 disks.
No,I don't see disk errors on dmesg. I see the errors on Linux and FreeBSD.
Don't know if I see them also using Windows.
Now I'm trying to transfer some files using Windows 11 because I want to
exclude some variables from the equation.

On Mon, Dec 23, 2024 at 7:49 PM Robin Lee Powell <
[email protected]> wrote:

> Almost certainly your drive is going bad.  On Linux I'd tell you to
> check dmesg for drive errors, I don't know what the FreeBSD
> equivalent is.  But I strongly recommend that you treat that drive
> as "going to fail any second".
>
> On Mon, Dec 23, 2024 at 12:56:09PM +0100, Mario Marietto via rsync wrote:
> > Using the parameters below the file hasn't been removed at 100% even if I
> > got the same error :
> >
> > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# rsync
> > --inplace --append --partial Free
> > BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD
> >
> > rsync: [sender] read errors mapping
> > "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
> > er.img": Input/output error (5)
> > ^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
> > rsync.c(701) [sender=3.2.4dev]
> > rsync error: received SIGUSR1 (code 19) at main.c(1598)
> [generator=3.2.4dev]
> >
> > Can I know the reasons why I get those errors ?
> >
> > On Mon, Dec 23, 2024 at 11:30 AM Mario Marietto 
> > wrote:
> >
> > > Happened again :
> > >
> > > root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# sudo
> > > rsync -azvvP FreeBSD-141-UFS-sdc-DarkMatter.img
> > > /mnt/sdj1/OS/Backup/BSD/FreeBSD
> > > sending incremental file list
> > > delta-transmission disabled for local transfer or --whole-file
> > > FreeBSD-141-UFS-sdc-DarkMatter.img
> > > 320,072,933,376 *100%*   80.31MB/s1:03:20 (xfr#1, to-chk=0/1)
> > >
> > > rsync: [sender] read errors mapping
> > > "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
> > > er.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
> > >  2,391,146,496   0%  183.65MB/s0:28:09  ^C
> > >
> > >
> > >
> > > On Mon, Dec 23, 2024 at 11:14 AM Mario Marietto <
> [email protected]>
> > > wrote:
> > >
> > >> >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 <
> > >> [email protected]> 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@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/s1: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.
> > >>
> > >
> > >
> > > --
> > > Mario.
> > >
> >
> >
> > --
> > Mario.
>
> > --
> > 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

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

2024-12-23 Thread Mario Marietto via rsync
Using the parameters below the file hasn't been removed at 100% even if I
got the same error :

root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# rsync
--inplace --append --partial Free
BSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD

rsync: [sender] read errors mapping
"/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
er.img": Input/output error (5)
^Crsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at
rsync.c(701) [sender=3.2.4dev]
rsync error: received SIGUSR1 (code 19) at main.c(1598) [generator=3.2.4dev]

Can I know the reasons why I get those errors ?

On Mon, Dec 23, 2024 at 11:30 AM Mario Marietto 
wrote:

> Happened again :
>
> root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# sudo
> rsync -azvvP FreeBSD-141-UFS-sdc-DarkMatter.img
> /mnt/sdj1/OS/Backup/BSD/FreeBSD
> sending incremental file list
> delta-transmission disabled for local transfer or --whole-file
> FreeBSD-141-UFS-sdc-DarkMatter.img
> 320,072,933,376 *100%*   80.31MB/s1:03:20 (xfr#1, to-chk=0/1)
>
> rsync: [sender] read errors mapping
> "/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
> er.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
>  2,391,146,496   0%  183.65MB/s0:28:09  ^C
>
>
>
> On Mon, Dec 23, 2024 at 11:14 AM Mario Marietto 
> wrote:
>
>> >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 <
>> [email protected]> 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@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/s1: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.
>>
>
>
> --
> Mario.
>


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


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

2024-12-23 Thread Mario Marietto via rsync
Happened again :

root@Z390-AORUS-PRO-DEST:/mnt/zroot-133/A_FILES/Backup/FreeBSD# sudo rsync
-azvvP FreeBSD-141-UFS-sdc-DarkMatter.img /mnt/sdj1/OS/Backup/BSD/FreeBSD
sending incremental file list
delta-transmission disabled for local transfer or --whole-file
FreeBSD-141-UFS-sdc-DarkMatter.img
320,072,933,376 *100%*   80.31MB/s1:03:20 (xfr#1, to-chk=0/1)

rsync: [sender] read errors mapping
"/mnt/zroot-133/A_FILES/Backup/FreeBSD/FreeBSD-141-UFS-sdc-DarkMatt
er.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
 2,391,146,496   0%  183.65MB/s0:28:09  ^C



On Mon, Dec 23, 2024 at 11:14 AM Mario Marietto 
wrote:

> >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 <
> [email protected]> 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@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/s1: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.
>


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


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

2024-12-23 Thread Mario Marietto via rsync
>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 <
[email protected]> 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@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/s1: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.
-- 
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


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

2024-12-23 Thread Paul Slootman via rsync
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@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/s1: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