rsync over nfs

Al-Abdulhadi, Bashar Babdulhadi at kockw.com
Tue Mar 18 18:27:10 EST 2003


well its actually coping all files again as i check the dates of all files they are with the last cronjob run time.

plus the group is not being moved with the files, its using the user primary group not the 2nd group he belongs to.

i think am having a problem with the flags or something?

Bashar AlAbdulhadi (KBM)
E&D UNIX System Support Team (SUN)
IT Department, Kuwait Oil Company
babdulhadi at kockw.com   +965-3989111 x71288


-----Original Message-----
From: jw schultz [mailto:jw at pegasys.ws]
Sent: Tue, March 18, 2003 8:39 AM
To: rsync at lists.samba.org
Subject: Re: rsync over nfs


On Tue, Mar 18, 2003 at 08:16:13AM +0300, Al-Abdulhadi, Bashar wrote:
> 	I have rsync process which is a crontab job:
> 0 0-23 * * * /bin/rsync -rvg /net/server1/local/filesys1/userhomedir/project_dir /local/filesys1/userhomedir/project_dir
> which sync the user project dir on localsystem from another machine called server1 via nfs, but the weird thing its coping all files every time it syncs am I using the wrong flags? is it possible to copy only the new/changed file or that's a problem using nfs?

Do you mean that it is reading every file or that it is
actually copying them?  It could be the fault of the NFS
server or the client.  Many people use rsync on NFS mounted
dirs without problems.  It is better to run on local dirs
but some NFS servers don't have the resources to support
rsync.  If you must rsync on a NFS mount use the
--whole-file option.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw at pegasys.ws

		Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html


More information about the rsync mailing list