LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2015, 06:23 AM   #1
gdizzle
Member
 
Registered: Jul 2012
Posts: 234

Rep: Reputation: Disabled
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
 
Old 01-10-2015, 12:46 PM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 01-10-2015, 12:54 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,788

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Quote:
Originally Posted by gdizzle View Post
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.
 
Old 01-11-2015, 11:09 AM   #4
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 01-11-2015, 12:42 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,788

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Quote:
Originally Posted by veerain View Post
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error performing checksum from yum --security check-update tom_morse Linux - Server 7 03-27-2014 10:18 AM
rsync to check two directories...? resetreset Linux - Software 3 01-26-2011 03:53 AM
Unifying permissions between two servers (CentOS + Webmin/CentOs +Cpanel) and rsync d60eba Linux - Server 1 01-01-2010 12:55 PM
Checksum error doing media check Fedora 10 cd's just burnt ETRadix Linux - Newbie 2 12-26-2008 01:46 PM


All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration