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:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Fri, 11 Jul 2014 13:52:36 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
On 07/11/2014 01:40 PM, Patrick J. LoPresti wrote:
> 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
>

Hi Pat,

Thank you!

Just out of curiously, what would happen if I switched
to NTFS?  (Can't use EXT4 on Windows machines.)

-T

ATOM RSS1 RSS2