DO NOT REPLY [Bug 4684] New: rsync corrupts when coping to a USB memory stick

samba-bugs at samba.org samba-bugs at samba.org
Fri Jun 8 22:35:33 GMT 2007


https://bugzilla.samba.org/show_bug.cgi?id=4684

           Summary: rsync corrupts when coping to a USB memory stick
           Product: rsync
           Version: 2.6.9
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: ToddAndMargo at verizon.net
         QAContact: rsync-qa at samba.org


Hi All,

   I am using 
       CentOS 5 (RHEL 5 clone)
       rsync-2.6.9-1.el5.rf (the lastest rpm I could find).
       imation HMDS-04GK, E-D900-03-3213  4GB memory stick

   When I rsync to a local USB memory stick, it copies for
a while, then corrupts my stick.  I have to re-fdisk it (t=b)
and re-mkfs.vfat it after every test.

   My code lines are:

Target="/mnt/MyCDs"
Source="/home/CDs"
rsync -rv --delete $Source/Linux    $Target/.
rsync -rv --delete $Source/Internet $Target/.
rsync -rv --delete $Source/Drivers  $Target/.

The following is the error message appear after
my stick gets corrupted.  The rsync make it all
the way through to the Drivers directory before
corrupting.  :'(

Many thanks,
-T


Drivers/LendersToolbox/LTBSetup-8.2.exe
Drivers/MediaPlayer/
Drivers/MediaPlayer/10.0-XP/
Drivers/MediaPlayer/10.0-XP/MP10Setup.exe
rsync: writefd_unbuffered failed to write 32768 bytes [sender]: Broken pipe
(32)
rsync: write failed on
"/mnt/MyCDs/./Drivers/MediaPlayer/10.0-XP/MP10Setup.exe": Input/output error
(5)
rsync error: error in file IO (code 11) at receiver.c(258) [receiver=2.6.9]
rsync: connection unexpectedly closed (40801 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(453)
[generator=2.6.9]
rsync: connection unexpectedly closed (13244 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453)
[senderDrivers/LendersToolbox/LTBSetup-8.2.exe
Drivers/MediaPlayer/
Drivers/MediaPlayer/10.0-XP/
Drivers/MediaPlayer/10.0-XP/MP10Setup.exe
rsync: writefd_unbuffered failed to write 32768 bytes [sender]: Broken pipe
(32)
rsync: write failed on
"/mnt/MyCDs/./Drivers/MediaPlayer/10.0-XP/MP10Setup.exe": Input/output error
(5)
rsync error: error in file IO (code 11) at receiver.c(258) [receiver=2.6.9]
rsync: connection unexpectedly closed (40801 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at io.c(453)
[generator=2.6.9]
rsync: connection unexpectedly closed (13244 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(453)
[sender=2.6.9]
=2.6.9]


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list