HP-UX 11i and largefiles on rsync 2.6.2

Don Malloy nixuser23 at hotmail.com
Thu Jul 15 20:30:50 GMT 2004


Interestingly enough, now it stops dead when it hits 2146631680 bytes 
transferred.

I've attached the output as a file.

The rsync from /tmp is the patched one (I modified generator.c as noted and 
recompiled)

Any ideas?

Thanks again,
Don

>From: Wayne Davison <wayned at samba.org>
>To: Don Malloy <nixuser23 at hotmail.com>
>CC: rsync at lists.samba.org
>Subject: Re: HP-UX 11i and largefiles on rsync 2.6.2
>Date: Thu, 15 Jul 2004 09:28:10 -0700
>
>On Wed, Jul 14, 2004 at 04:46:41PM -0400, Don Malloy wrote:
> > The rsync transfers always fail at the 2GB mark.
>
>There is a bug in the large-file support of 2.6.2 that is fixed by the
>attached patch.  Either apply it using "patch" or manually edit the
>size_t to OFF_T manually, recompile, and give the resulting rsync a try.
>
>..wayne..
><< large-files.patch >>

_________________________________________________________________
STOP MORE SPAM with the MSN Premium and get 2 months FREE*    
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
-------------- next part --------------
Patched version:

server2 # /tmp/rsync -avvvv -e remsh --rsync-path=/tmp/rsync --progress 
--stats file1.db server1:/spare
opening connection using remsh server1 /tmp/rsync --server -vvvlogDtpr . 
/spare
cmd=remsh machine=server1 user= path=/spare
cmd=remsh server1 /tmp/rsync --server -vvvvlogDtpr . /spare
opening connection using remsh server1 /tmp/rsync --server -vvvvlogDtpr . 
/spare
(Client) Protocol versions: remote=28, negotiated=28
(Server) Protocol versions: remote=28, negotiated=28
building file list ...
[sender] make_file(file1.db,*,2)
[sender] expand file_list to 131072 bytes, did move
1 file to consider
[sender] i=0 <NULL> <NULL> file1.db mode=0100640 len=4304863232 uid=0 gid=3
send_file_list done
file list sent
send_files starting
server_recv(2) starting pid=10383
recv_file_name(file1.db)
received 1 names
gid 3(sys) maps to 3
[receiver] i=0 <NULL> <NULL> file1.db mode=0100640 len=4304863232 uid=0 
gid=3
recv_file_list done
get_local_name count=1 /spare
recv_files(1) starting
generator starting pid=10383 count=1
delta transmission enabled
recv_generator(file1.db,0)
send_files(0, file1.db)
count=0 n=0 rem=0
send_files mapped file1.db of size 4304863232
calling match_sums file1.db
file1.db
2146631680  49%    3.07MB/s    0:11:26 <-- hangs at this point - CTRL-c
_exit_cleanup(code=20, file=rsync.c, line=225): entered
rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(225)
_exit_cleanup(code=20, file=rsync.c, line=225): about to call exit(20)
server2 #



Unpatched version:

server2 # /usr/local/bin/rsync -avvv -e remsh 
--rsync-path=/usr/local/bin/rsync --progress --stats file1.db server1:/spare
opening connection using remsh server1 /usr/local/bin/rsync --server 
-vvvlogDtpr . /spare
building file list ...
[sender] make_file(file1.db,*,2)
[sender] expand file_list to 131072 bytes, did move
1 file to consider
send_file_list done
send_files starting
server_recv(2) starting pid=10278
recv_file_name(file1.db)
received 1 names
recv_file_list done
get_local_name count=1 /spare
recv_files(1) starting
generator starting pid=10278 count=1
delta transmission enabled
recv_generator(file1.db,0)
send_files(0, file1.db)
send_files mapped file1.db of size 4304863232
calling match_sums file1.db
file1.db
2127200256  49%    3.17MB/s    0:11:10
rsync: writefd_unbuffered failed to write 32768 bytes: phase "unknown": 
Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(836)
_exit_cleanup(code=12, file=io.c, line=836): about to call exit(12)



More information about the rsync mailing list