Error while transfering large files

Peter-Jan Deweirdt deweirdt at gmail.com
Thu Nov 23 19:13:29 GMT 2006


Hi,

 

I'm using rsync to backup my data from my Linux machine (SUSE10.1) and
Windows (XP)

I've mounted a windows share on my linux and I'm trying now to copy files to
the windows with rsync.

The windows share is a NTFS filesystem

 

It's all working except I have a error on large files.

 

This is the command that I'm trying:

rsync -a --no-o --delete /public/Games/Call_of_Duty2/
/backup/public/Games/Call_of_Duty2/

 

and this is the error I'm receiving on this command:

rsync: writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)

rsync: write failed on "/backup/public/Games/Call_of_Duty2/dev-cod2.iso":
File too large (27)

rsync error: error in file IO (code 11) at receiver.c(258) [receiver=2.6.9]

rsync: connection unexpectedly closed (76 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 (36 bytes received so far) [sender]

rsync error: error in rsync protocol data stream (code 12) at io.c(453)
[sender=2.6.9]

 

 

Then I tried (as described in on the website) with the strace in front. The
command format was as followed:

strace -f rsync -a --no-o --delete /public/Games/Call_of_Duty2/
/backup/public/Games/Call_of_Duty2/ 2>./tracedump.log

 

 

This is a part of the tracedump.log file. Where it went wrong.

 

[pid   826] select(1, [0], [], NULL, {60, 0} <unfinished ...>

[pid   824] <... write resumed> )       = 32768

[pid   826] <... select resumed> )      = 1 (in [0], left {60, 0})

[pid   824] select(5, NULL, [4], [4], {60, 0} <unfinished ...>

[pid   826] read(0, "\326\3357\233`\v\t\26\3352G\33\210\314
\221\371\373\20"..., 8184) = 8184

[pid   826] select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60, 0})

[pid   826] read(0,
"\232\t\316S\177\300\373\362\350\26\371\311\255v\352\212"..., 8184) = 8184

[pid   826] select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {60, 0})

[pid   826] read(0,  <unfinished ...>

[pid   824] <... select resumed> )      = 1 (out [4], left {60, 0})

[pid   826] <... read resumed>
"\344\31\f\7\360e\17\301\227\25\202/\233\324i\256\246\0"..., 8184) = 8184

[pid   824] write(4, "\0\200\0\0", 4 <unfinished ...>

[pid   826] select(1, [0], [], NULL, {60, 0} <unfinished ...>

[pid   824] <... write resumed> )       = 4

[pid   826] <... select resumed> )      = 1 (in [0], left {60, 0})

[pid   824] read(3,  <unfinished ...>

[pid   826] read(0,  <unfinished ...>

[pid   824] <... read resumed>
"\31\310A\232o\356\30r\223p\215B\27\313\337\357>\371\364"..., 262144) =
262144

[pid   826] <... read resumed>
"\3068\340\203\337\254\360\374%\217\321\320\352\343q\17"..., 8184) = 8184

[pid   824] select(5, NULL, [4], [4], {60, 0} <unfinished ...>

[pid   826] select(1, [0], [], NULL, {60, 0} <unfinished ...>

[pid   824] <... select resumed> )      = 1 (out [4], left {60, 0})

[pid   826] <... select resumed> )      = 1 (in [0], left {60, 0})

[pid   824] write(4,
"\31\310A\232o\356\30r\223p\215B\27\313\337\357>\371\364"..., 32768
<unfinished ...>

[pid   826] read(0,  <unfinished ...>

[pid   824] <... write resumed> )       = 32768

[pid   826] <... read resumed>
"\347\235\303/\210G\365\n\304\325\327\335A\374\272\31\320"..., 8184) = 8184

[pid   824] select(5, NULL, [4], [4], {60, 0} <unfinished ...>

[pid   826] write(1,
"x\17\240\2267\376m\257G\271\373\217\264\375\325\312\302"..., 262144) =
262143

[pid   826] write(1, "5", 1)            = -1 EFBIG (File too large)

[pid   826] --- SIGXFSZ (File size limit exceeded) @ 0 (0) ---

[pid   826] write(4, "^\0\0\10rsync: write failed on \"/bac"..., 98) = 98

[pid   826] rt_sigaction(SIGUSR1, {SIG_IGN},  <unfinished ...>

[pid   825] <... select resumed> )      = 1 (in [3], left {2, 488000})

[pid   826] <... rt_sigaction resumed> NULL, 8) = 0

[pid   825] read(3,  <unfinished ...>

[pid   826] rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0

[pid   826] unlink(".dev-cod2.iso.GrkNfL" <unfinished ...>

[pid   825] <... read resumed> "^\0\0\10", 4) = 4

[pid   825] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})

[pid   825] read(3, "rsync: write failed on \"/backup/"..., 94) = 94

[pid   825] select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {60, 0})

[pid   825] write(1, "^\0\0\10rsync: write failed on \"/bac"..., 98) = 98

[pid   825] time(NULL)                  = 1164306617

[pid   825] select(4, [3], [], NULL, {60, 0} <unfinished ...>

[pid   826] <... unlink resumed> )      = 0

[pid   826] write(4, "L\0\0\10rsync error: error in file I"..., 80) = 80

[pid   826] exit_group(11)              = ?

Process 826 detached

[pid   824] <... select resumed> )      = 1 (out [4], left {59, 880000})

[pid   824] write(4, "\0\200\0\0", 4)   = -1 EPIPE (Broken pipe)

[pid   824] --- SIGPIPE (Broken pipe) @ 0 (0) ---

[pid   824] write(2, "rsync: writefd_unbuffered failed"..., 76rsync:
writefd_unbuffered failed to write 4 bytes [sender]: Broken pipe (32)) = 76

[pid   824] write(2, "\n", 1

)           = 1

[pid   824] select(6, [5], [], NULL, {30, 0}) = 1 (in [5], left {30, 0})

[pid   825] <... select resumed> )      = 1 (in [3], left {59, 964000})

 

 

Who can tell me what is going wrong

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the rsync mailing list