[NTLUG:Discuss] rsync and non-regular files

Ed Leach ntlug at levelofdetail.com
Mon Dec 4 13:41:11 CST 2006


Thanks Kenneth.

tune2fs is what I couldn't find.

Here is the command I'm using:

rsync -rvpogt --delete /home/ed 192.168.0.108:/home/backup/

Other than the "non-regular file" notice on a few directories, it's working.

Ed



Kenneth Loafman wrote:
> Ed Leach wrote:
>   
>> When I run rsync to copy a local directory to another machine it is
>> skipping some of what it calls "non-regular files" that are directories.
>> When I copied one of these directories and ran rsync again, rsync copied
>> the new directory with no problem.
>>     
>
> How are your running rsync?  My normal method is to use:
>
>   rsync -avz -e ssh --delete <source> <target>
>
> This gets directories, permissions, synch's dirs, etc.  Read the man
> page for full options, but -a generally means archive, -v means verbose,
> and -z means compress, -e is the transport method, and --delete says to
> delete anything on the target that's not in the source.
>
>   
>> Does this indicate some problem with my local file system? There is no
>> other evidence of problems. I'm running Ubuntu with a default (ext3)
>> install.
>>     
>
> No, probably just rsync flags.
>
>   
>> It does fsck regularly after some number of reboots. (I think it's 30 -
>> again the default.) Where is this setting in the system if I wanted to
>> change it?
>>     
>
> 'man tune2fs' will show you how to set this and other parameters.  30 is
> about right and I think there is a time limit as well.  I rarely get hit
> with the count limit.
>
> ...Ken
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
>   




More information about the Discuss mailing list