SCIENTIFIC-LINUX-USERS Archives

July 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Patrick J. LoPresti" <[log in to unmask]>
Reply To:
Patrick J. LoPresti
Date:
Fri, 11 Jul 2014 13:40:44 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On Fri, Jul 11, 2014 at 1:20 PM, ToddAndMargo <[log in to unmask]> wrote:
> On 07/11/2014 01:04 PM, Stephen John Smoogen wrote:
>>
>> So rsync is going to have to read every file on target and host and see
>> if various things have changed.

Not true, at least by default... rsync assumes that if the files'
names, timestamps, and sizes are the same, then it can skip computing
the checksum. You can override this behavior with the "--ignore-times"
or "--checksum" option, but you probably don't want to.

> Hard drive is EXT4 and LUKS; flash drive is FAT32

I bet this is your problem. FAT32 timestamps have a resolution of 2
seconds. ext4 has a resolution of nanoseconds. So the timestamps
essentially never compare equal and rsync is always reading the files
to compute their checksums.

Try giving the "--size-only" option to rsync.

 - Pat

ATOM RSS1 RSS2