<font size=2 face="sans-serif">Thanks for the suggestions, guys. </font><br><br><font size=2 face="sans-serif">I'll try testing times on the NAS device,
as well as the --size-only options. These are photos - I wonder what the
odds are of a modified file having the same size as the original?</font><br><br><br><font size=2 face="sans-serif">Bill Dorrian</font><br><font size=2 face="sans-serif">Network Administrator</font><br><font size=2 face="sans-serif">Desk: 904-273-7625</font><br><font size=2 face="sans-serif">Cell: 904-859-9471</font><br><br><br><table width=100%><tr valign=top><td><font size=1 color=#5f5f5f face="sans-serif">From:</font><td><font size=1 face="sans-serif">"Greg Deback (rsync)" <greg.deb+rsync@gmail.com></font><tr valign=top><td><font size=1 color=#5f5f5f face="sans-serif">To:</font><td><font size=1 face="sans-serif">"Joachim Otahal (privat)"
<Jou@gmx.net>, </font><tr><td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font><td><font size=1 face="sans-serif">BillDorrian@pgatourhq.com, rsync@lists.samba.org</font><tr valign=top><td><font size=1 color=#5f5f5f face="sans-serif">Date:</font><td><font size=1 face="sans-serif">04/09/2012 04:48 PM</font><tr valign=top><td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font><td><font size=1 face="sans-serif">Re: Problem syncing to Netapp (rsync:
failed to set times on...)</font><tr valign=top><td><font size=1 color=#5f5f5f face="sans-serif">Sent by:</font><td><font size=1 face="sans-serif">greg.deb@gmail.com</font></table><br><hr noshade><br><br><br><font size=3>PPS. Yet another (a bit ugly) workaround, regarding how
often the job is done : try the options --modify-window=N (N in seconds),
to allow timestamp differences, or/and --size-only (comparing on filesize
only).<br>Greg<br></font><br><font size=3>On Mon, Apr 9, 2012 at 10:32 PM, Joachim Otahal (privat)
<</font><a href=mailto:Jou@gmx.net target=_blank><font size=3 color=blue><u>Jou@gmx.net</u></font></a><font size=3>>
wrote:</font><br><font size=3>I know from a lot of NAS boxes that they tend to use their
internal time to stamp files instead of the time given by a copy job.<br>The easiest way to test is to deliberately set the time off by a few hours
on the box you monted the stuff on, the NAS and netapp (or the Server accessing
the netapp) and create a file from your mount point, and check whether
the time is right.<br><br>cifs isn't the fastest way in unix environments, and samba uses _quite_
an amount of CPU power if you are above 50 MB/s.<br>If in any way possible you should do it more directly, having an in-between
box in the network causes (if -c is used) that all files are read from
both boxes over the network just for the checksum, hence the bad performance.<br><br>These Netapps, are they "pure" storage and the server using them
is either windows or linux? If yes: Put rsync directly on those servers.
This also applies to most NAS boxes I know, they offer rsync directly,
most of the time as server.<br><br>Joachim<br></font><font size=3 color=blue><u><br></u></font><a href=mailto:BillDorrian@pgatourhq.com target=_blank><font size=3 color=blue><u>BillDorrian@pgatourhq.com</u></font></a><font size=3>schrieb: </font><br><font size=3 face="sans-serif">Hey folks.</font><font size=3><br></font><font size=3 face="sans-serif"><br>I have a machine that I use as an intermediary to rsync between a NAS in
another building (the users there have poor bandwidth and need local storage)
and the our Netapp located in our Datacenter. I get lots of the "rsync:
failed to set times on..." errors, and files which have already been
transferred just try to sync again anyway.</font><font size=3><br></font><font size=3 face="sans-serif"><br>These are the mount options that I use for both sides:</font><font size=3><br></font><font size=3 face="sans-serif"><br>mount -t cifs -o credentials=/root/.synccreds //nasdevice/folder /nas<br>mount -t cifs -o credentials=/root/.synccreds //netapp/folder /netapp</font><font size=3><br><br></font><font size=3 face="sans-serif"><br>The ".synccreds" file has the credentials of an Active Directory
Domain Admin account, which has "Full Control" on both the NAS
and the Netapp.</font><font size=3><br><br></font><font size=3 face="sans-serif"><br>Here is the command that I run to do the rsync:</font><font size=3><br></font><font size=3 face="sans-serif"><br>rsync -rvt  --delete --progress /nas/ /netapp/</font><font size=3><br></font><font size=3 face="sans-serif"><br>Running rsync with "-i" shows that the files are transferring
because of timestamp differences.</font><font size=3><br></font><font size=3 face="sans-serif"><br>I tried the "-c" option in place of the "-t", but the
server doing the sync just hung there for literally two days without anything
transferring and no output. I realize that the -c option is slower, but
yikes!</font><font size=3><br></font><font size=3 face="sans-serif"><br>Any thoughts? Suggestions?</font><font size=3><br></font><font size=3 face="sans-serif"><br>Thanks,<br>Bill D.</font><font size=3><br><br></font><font size=3 face="sans-serif"><br>Bill Dorrian<br>Network Administrator<br>Desk: 904-273-7625<br>Cell: 904-859-9471 </font><p><font size=3 face="sans-serif">" THE PLAYERS begins May 10 on Golf's
Greatest Stadium. For more information visit </font><a href=http://pgatour.com/theplayers target=_blank><font size=3 color=blue face="sans-serif"><u>PGATOUR.COM/theplayers</u></font></a><font size=3 face="sans-serif">."</font><p><font size=3 face="sans-serif"><br>"The information contained in this transmission and any attachments
may contain privileged and confidential information. It is intended only
for the use of the person(s) named above. If you are not the intended recipient,
you are hereby notified that any review, dissemination, distribution, or
duplication of this communication is strictly prohibited. If you are not
the intended recipient, please contact the sender by reply email and destroy
all copies of the original message."</font><font size=3><br><br></font><br><br><font size=3><br>--<br>Please use reply-all for most replies to avoid omitting the mailing list.<br>To unsubscribe or change options: </font><a href=https://lists.samba.org/mailman/listinfo/rsync target=_blank><font size=3 color=blue><u>https://lists.samba.org/mailman/listinfo/rsync</u></font></a><font size=3><br>Before posting, read: </font><a href="http://www.catb.org/%7Eesr/faqs/smart-questions.html" target=_blank><font size=3 color=blue><u>http://www.catb.org/~esr/faqs/smart-questions.html</u></font></a><br><br><font face="sans-serif"><p>"
THE PLAYERS begins May 10 on Golf's Greatest Stadium. For more information visit PGATOUR.COM/theplayers."</p><br>
"The information contained in this transmission and any attachments may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution, or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message."<br></font>