[ale] rsync issues
adam
prozaconstilts at gmail.com
Sat Dec 5 10:09:41 EST 2009
Michael H. Warfield wrote:
> On Sat, 2009-12-05 at 00:31 -0500, Robert Coggins wrote:
>> I was trying the -av at first but I decided I would forego the -go part
>> of -a due to the destination being a cifs share. (sorry I didn't
>> mention that at first)
>
> That's an important little detail there. At one time we did have a
> problem in Samba that manifested itself as rsync recopying data. Had
> something to do with the time stamps and has since (I believe) been
> fixed.
>
> Wrt, the suggestions to use -av... This probably doesn't apply to a
> cifs share, IAC, but... For those of you using rsync on *NIX to *NIX,
> be aware at -av might not do everything you would like. For one thing,
> it does NOT preserve hard links and will result in two (or more) files
> on the target instead of one hard-linked file. It also does not
> preserve extended attributes (which DEFINITELY does NOT apply to a CIFS
> share). Depending on what you are doing, you may want to a -H to
> preserve hard links, and -A (and maybe also -X) for extended attributes.
> When I'm going ext3 to ext3, I'm always using -avAHX.
>
>> Rob
>
> Mike
>
>> Jim Popovitch wrote:
>>> On Sat, Dec 5, 2009 at 00:06, Robert Coggins <ale at cogginsnet.com> wrote:
>>>> good evening all,
>>>>
>>>> If I run the following command 2 times in a row I should have data
>>>> transferred only the first time right?
>>>>
>>>> rsync -rlptDv /mnt/dir1 /mnt/dir2
>>> Try: rsync -av /mnt/dir1 /mnt/dir2
>>>
>>> hth,
>>>
>>> -Jim P
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://mail.ale.org/mailman/listinfo/ale
>>> See JOBS, ANNOUNCE and SCHOOLS lists at
>>> http://mail.ale.org/mailman/listinfo
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
Don't forget -S! Sparse files can eat your destination disk alive.
I always remember 'aSH', e.g. Ash from Evil Dead, the manliest man ever.
Adam
More information about the Ale
mailing list