LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rsync without a checksum check? Centos 7 (https://www.linuxquestions.org/questions/linux-newbie-8/rsync-without-a-checksum-check-centos-7-a-4175530615/)

gdizzle 01-10-2015 06:23 AM

rsync without a checksum check? Centos 7
 
Hi All,
I am trying to perform an rsync without a check sum verification at the end of the copy.

I have tried both the -W (whole file) and the --no-checksum option and at the end of both file copies it performs a verification.


Code:

[root@centsrv01 /]# nice -n 20 rsync -avz --no-checksum  --bwlimit=2000 --progress /opt/vidconvert/converted/testfile.mp4 /opt/RouterUSB/TV/ChromeCast/
sending incremental file list
testfile.mp4
  1400440237 100%    1.94MB/s    0:11:28 (xfer#1, to-check=0/1)


I am copying from an XFS filesystem to a NTFS (CIFS) file system to a Samba share. Unfortunalty NFS is not an option.

Any Ideas?

Thanks

veerain 01-10-2015 12:46 PM

rsync by default updates based on date of modification + size change. But yet it verifies transfered files using checksum.

There is also a non default option of checksum. With it sending and receiving files are checksummed in their respective systems and if they don't match then only the files are updated.

TB0ne 01-10-2015 12:54 PM

Quote:

Originally Posted by gdizzle (Post 5298588)
Hi All,
I am trying to perform an rsync without a check sum verification at the end of the copy. I have tried both the -W (whole file) and the --no-checksum option and at the end of both file copies it performs a verification.
Code:

[root@centsrv01 /]# nice -n 20 rsync -avz --no-checksum  --bwlimit=2000 --progress /opt/vidconvert/converted/testfile.mp4 /opt/RouterUSB/TV/ChromeCast/
sending incremental file list
testfile.mp4
  1400440237 100%    1.94MB/s    0:11:28 (xfer#1, to-check=0/1)

I am copying from an XFS filesystem to a NTFS (CIFS) file system to a Samba share. Unfortunalty NFS is not an option.

While I haven't used rsync from Linux to NTFS/CIFS, I would strongly suspect that the Windows file system is the real culprit. It doesn't have the same capabilities, so rsync may be trying to 'check' things, and (since it can't), assumes the file needs transferring.

But based on what you've posted, what verification are you seeing, where?? All I can see is rsync sending a file...was that file already present?
Quote:

Originally Posted by veerain
rsync by default updates based on date of modification + size change. But yet it verifies transfered files using checksum.

There is also a non default option of checksum. With it sending and receiving files are checksummed in their respective systems and if they don't match then only the files are updated

Are you not reading the original posts??? The OP clearly stated they are performing the rsync WITHOUT the checksum...so telling them to do it that way is pointless.

veerain 01-11-2015 11:09 AM

I have read rsync man page. Well TBOne the rsync man page says it uses checksum in various steps. And question was about confusion regarding checksums happening even with no checksum option.

TB0ne 01-11-2015 12:42 PM

Quote:

Originally Posted by veerain (Post 5299176)
I have read rsync man page. Well TBOne the rsync man page says it uses checksum in various steps. And question was about confusion regarding checksums happening even with no checksum option.

Right...and your 'answer' was to tell them to use the option THEY WERE ALREADY USING, and TOLD YOU they were already using. You ignored part of the question, and posted something that had no bearing/use to the OP's original question.

Again, this has to do with the differences in file systems, and the OP hasn't actually said how they reached that conclusion, did they?


All times are GMT -5. The time now is 05:19 PM.