Bug 4684 - rsync corrupts when coping to a USB memory stick
rsync corrupts when coping to a USB memory stick
Status: RESOLVED INVALID
Product: rsync
Classification: Unclassified
Component: core
2.6.9
x86 Linux
: P3 critical
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-08 17:35 UTC by Todd
Modified: 2007-06-08 19:14 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todd 2007-06-08 17:35:33 UTC
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]
Comment 1 Todd 2007-06-08 19:14:40 UTC
Hold everything.  "cp" made similar corruptions.  I think I have a bad stick.
Never mind.

-T