Bug 4684 - rsync corrupts when coping to a USB memory stick
Summary: rsync corrupts when coping to a USB memory stick
Status: RESOLVED INVALID
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.9
Hardware: x86 Linux
: P3 critical (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 17:35 UTC by Todd (dead mail address)
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 (dead mail address) 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 (dead mail address) 2007-06-08 19:14:40 UTC
Hold everything.  "cp" made similar corruptions.  I think I have a bad stick.
Never mind.

-T