rsync not transferring files [SOLVED]

David M. youcantoo at findmoore.net
Wed Nov 26 15:43:40 MST 2014


Something is not right as I have added files to the server that has
never shown up on my backup machine - so everything is NOT being update
by any means.  I finally removed rsync - version
rsync-3.0.6-12.el6.x86_64 and installed the same version that is on my
server which is rsync-3.1.1-1.el6.rfx.x86_64

Now everything is working as expected. Perhaps there is something
between the two different versions. Anyway, Thank you for the help

On 11/24/2014 10:48 AM Kevin Korb wrote:
>It looks to me like everything is up to date.


On 11/24/2014 12:26 AM, David M. wrote:
>>
>> I really want to thank you for taking time to help me with this.
>>
>> I have changed the rsyncd.conf as per you suggestion below.
>>
>> I have several different systems that sync to the server and today
>> they were showing this
>>
>> Number of files: 25832 Number of files transferred: 78 Total file
>> size: 49441191919 bytes Total transferred file size: 37421120
>> bytes Literal data: 36955331 bytes Matched data: 465789 bytes File
>> list size: 1305253 File list generation time: 0.001 seconds File
>> list transfer time: 0.000 seconds Total bytes sent: 19832 Total
>> bytes received: 38276589
>>
>> sent 19832 bytes  received 38276589 bytes  654639.68 bytes/sec
>> total size is 49441191919  speedup is 1291.01
>>
>>
>> The system in question show this
>>
>> Number of files: 35143 Number of files transferred: 0 Total file
>> size: 97.70G bytes Total transferred file size: 0 bytes Literal
>> data: 0 bytes Matched data: 0 bytes File list size: 1.74M File list
>> generation time: 0.001 seconds File list transfer time: 0.000
>> seconds Total bytes sent: 48 Total bytes received: 1.74M
>>
>> sent 48 bytes  received 1.74M bytes  204.52K bytes/sec total size
>> is 97.70G  speedup is 56200.47 [root at centos findmoore]#
>>
>> Here it is when I use the switch --itemize-changes as suggested
>> when I run it it display a list of the files and then ends with
>> this
>>
>> send_files phase=1 recv_files phase=1 generate_files phase=2
>> send_files phase=2 recv_files phase=2 send files finished
>> generate_files phase=3 total: matches=0  hash_hits=0
>> false_alarms=0 data=0 recv_files finished
>>
>> rsync[32689] (receiver) heap statistics: arena:         204800
>> (bytes from sbrk) ordblks:            7   (chunks not in use)
>> smblks:             2 hblks:              2   (chunks from mmap)
>> hblkhd:        401408   (bytes from mmap) allmem:        606208
>> (bytes from sbrk + mmap) usmblks:            0 fsmblks:
>> 192 uordblks:       58736   (bytes used) fordblks:      146064
>> (bytes free) keepcost:      133904   (bytes in releasable chunk)
>> generate_files finished
>>
>> rsync[32680] (generator) heap statistics: arena:         204800
>> (bytes from sbrk) ordblks:           10   (chunks not in use)
>> smblks:             2 hblks:              2   (chunks from mmap)
>> hblkhd:        401408   (bytes from mmap) allmem:        606208
>> (bytes from sbrk + mmap) usmblks:            0 fsmblks:
>> 192 uordblks:       60208   (bytes used) fordblks:      144592
>> (bytes free) keepcost:      133904   (bytes in releasable chunk)
>>
>> Number of files: 35143 Number of files transferred: 0 Total file
>> size: 97.70G bytes Total transferred file size: 0 bytes Literal
>> data: 0 bytes Matched data: 0 bytes File list size: 1.74M File list
>> generation time: 0.001 seconds File list transfer time: 0.000
>> seconds Total bytes sent: 105.48K Total bytes received: 9.56M
>>
>> sent 105.48K bytes  received 9.56M bytes  222.14K bytes/sec total
>> size is 97.70G  speedup is 10110.30 _exit_cleanup(code=0,
>> file=main.c, line=1505): about to call exit(0) [root at centos ~]#
>>
>> The files I see scrolling by looks like this and there are many
>> many screens.
>>
>> .f
>> pclinuxos/srpms/SRPMS.pclos/zinnia-0.06-2pclos2013.src.rpm
>> send_files(35160,
>>
/home/repo/pclinuxos/srpms/SRPMS.pclos/zinnia-tomoe-0.6.0.20080911-1pclos2013.src.rpm)
>>
>>
recv_files(pclinuxos/srpms/SRPMS.pclos/zinnia-tomoe-0.6.0.20080911-1pclos2013.src.rpm)
>> .f
>>
pclinuxos/srpms/SRPMS.pclos/zinnia-tomoe-0.6.0.20080911-1pclos2013.src.rpm
>>
>>
send_files(35161,
>> /home/repo/pclinuxos/srpms/SRPMS.pclos/zint-2.4.2-1pclos2012.src.rpm)
>>
>>
recv_files(pclinuxos/srpms/SRPMS.pclos/zint-2.4.2-1pclos2012.src.rpm)
>> .f
>> pclinuxos/srpms/SRPMS.pclos/zint-2.4.2-1pclos2012.src.rpm
>> send_files(35162,
>> /home/repo/pclinuxos/srpms/SRPMS.pclos/zip-3.0-1pclos2011.src.rpm)
>> recv_files(pclinuxos/srpms/SRPMS.pclos/zip-3.0-1pclos2011.src.rpm)
>> .f          pclinuxos/srpms/SRPMS.pclos/zip-3.0-1pclos2011.src.rpm
>> send_files(35163,
>> /home/repo/pclinuxos/srpms/SRPMS.pclos/ziproxy-3.2.0-1pclos2012.src.rpm)
>>
>>
recv_files(pclinuxos/srpms/SRPMS.pclos/ziproxy-3.2.0-1pclos2012.src.rpm)
>> .f
>> pclinuxos/srpms/SRPMS.pclos/ziproxy-3.2.0-1pclos2012.src.rpm
>> send_files(35164,
>>
/home/repo/pclinuxos/srpms/SRPMS.pclos/zisofs-tools-1.0.8-1pclos2012.src.rpm)
>>
>>
recv_files(pclinuxos/srpms/SRPMS.pclos/zisofs-tools-1.0.8-1pclos2012.src.rpm)
>> .f
>> pclinuxos/srpms/SRPMS.pclos/zisofs-tools-1.0.8-1pclos2012.src.rpm
>> send_files(35165,
>> /home/repo/pclinuxos/srpms/SRPMS.pclos/zlib-1.2.8-4pclos2014.src.rpm)
>>
>>
recv_files(pclinuxos/srpms/SRPMS.pclos/zlib-1.2.8-4pclos2014.src.rpm)
>> .f
>> pclinuxos/srpms/SRPMS.pclos/zlib-1.2.8-4pclos2014.src.rpm
>> send_files(35166,
>>
/home/repo/pclinuxos/srpms/SRPMS.pclos/znotes-0.4.5-17.1pclos2011.src.rpm)
>>
>>
recv_files(pclinuxos/srpms/SRPMS.pclos/znotes-0.4.5-17.1pclos2011.src.rpm)
>> .f
>> pclinuxos/srpms/SRPMS.pclos/znotes-0.4.5-17.1pclos2011.src.rpm
>> send_files(35167,
>>
/home/repo/pclinuxos/srpms/SRPMS.pclos/zoneminder-1.26.3-3pclos2014.src.rpm)
>>
>>
recv_files(pclinuxos/srpms/SRPMS.pclos/zoneminder-1.26.3-3pclos2014.src.rpm)
>>
>>
>>
>>
>>
>>
>> On 11/22/2014 13:45 PM, Kevin Korb wrote:
>>> First, all your rsyncd.conf settings after the read only line
>>> belong in the main section not the module section.
>>>
>>>
>>> Second, it seems to indicate there is only 1 file and it doesn't
>>> need transferring.  --itemize-changes would help.  Possibly list
>>> it twice.
>>>
>> On 11/22/2014 03:12 PM, David M. wrote:
>>>> Hi there, I am running rsync-3.0.6-12.el6.x86_64 on a centos
>>>> 6.6 box. Am trying to get files from a remote server (centos
>>>> 6.5) to my local machine. It appears to connect fine, but does
>>>> not transfer any file. this is what I am seeing
>>>>
>>>> [youcantoo at testbox home]# rsync -avvvzh -P --stats --delete
>>>> servername::backupdir/ /home/findmoore
>>>>
>>>> opening tcp connection to servername port 873 sending daemon
>>>> args: --server --sender -vvlogDtprze.iLs . backupdir/ Welcome
>>>> to the servername rsync server.
>>>>
>>>> You may download the distribution by using the appropriate
>>>> module name. For example:
>>>>
>>>> rsync -avz -P --stats --delete
>>>> username at servername::modulename/ /local/path
>>>>
>>>>
>>>> receiving incremental file list recv_file_name(.) received 1
>>>> names recv_file_list done get_local_name count=1
>>>> /home/findmoore generator starting pid=2499 delta-transmission
>>>> enabled recv_generator(.,0) delete_in_dir(.) recv_files(1)
>>>> starting recv_generator(.,1) generate_files phase=1
>>>> recv_files(.) recv_files phase=1 generate_files phase=2
>>>> recv_files phase=2 generate_files phase=3 recv_files finished
>>>>
>>>>
>>>> rsync[2432] (receiver) heap statistics: arena:         135168
>>>> (bytes from sbrk) ordblks:            2   (chunks not in use)
>>>> smblks:             2 hblks:              2   (chunks from
>>>> mmap) hblkhd:        401408   (bytes from mmap) allmem:
>>>> 536576 (bytes from sbrk + mmap) usmblks:            0 fsmblks:
>>>> 192 uordblks:       57200   (bytes used) fordblks:       77968
>>>> (bytes free) keepcost:       64288   (bytes in releasable
>>>> chunk)
>>>>
>>>> rsync[2430] (generator) heap statistics: arena:         135168
>>>> (bytes from sbrk) ordblks:            2   (chunks not in use)
>>>> smblks:             4 hblks:              2   (chunks from
>>>> mmap) hblkhd:        401408   (bytes from mmap) allmem:
>>>> 536576 (bytes from sbrk + mmap) usmblks:            0 fsmblks:
>>>> 384 uordblks:       57200   (bytes used) fordblks:       77968
>>>> (bytes free) keepcost:       64288   (bytes in releasable
>>>> chunk)
>>>>
>>>> Number of files: 1 Number of files transferred: 0 Total file
>>>> size: 0 bytes Total transferred file size: 0 bytes Literal
>>>> data: 0 bytes Matched data: 0 bytes File list size: 34 File
>>>> list generation time: 0.001 seconds File list transfer time:
>>>> 0.000 seconds Total bytes sent: 34 Total bytes received: 283
>>>>
>>>> sent 34 bytes  received 283 bytes  634.00 bytes/sec total size
>>>> is 0 speedup is 0.00 [youcantoo at testbox home]#
>>>>
>>>> I have also tried this way with the same results
>>>>
>>>> rsync -avvvzh -P --stats --delete
>>>> username at servername:/home/backups/ /home/backups
>>>>
>>>> this is what my rsyncd.conf file looks like
>>>>
>>>> motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log
>>>> pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock
>>>> log format = %t %a %m %f %b
>>>>
>>>> [backupdir] path = /home/findmoore/ comment = backup directory
>>>> read only = yes uid = root gid = root max connections = 2
>>>> timeout =300
>>>>
>>>> I have changed the read only line to both yes and no without
>>>> any change in the results.
>>>>
>>>> Can any suggest what might be causing this?   Thanks in
>>>> advance


More information about the rsync mailing list