Re: Not all files synched - hard link problems???

2001-11-27 Thread Dave Dykstra


Unfortunately there is no way to search the archive.  That would be very
useful.

I haven't heard of any similar problems reported with hard links before,
and I've been following this list closely for several years.   I notice
your command line looks pretty complicated, so I suggest that you try to
narrow it down to the smallest reproducible case, preferably one that you
can completely describe to someone else how to reproduce starting from
scratch.  Often such an exercise alone will reveal a solution, but if not
at least it allows somebody else to debug it.

- Dave Dykstra


On Tue, Nov 27, 2001 at 11:29:54AM -0800, Dave Madole wrote:
 
 I am sorry if this has been covered before: I have done a couple of
 futile searches in the bug reporting system and is there any way to
 search the archive?
 I am having a strange symptom:  I am synching directories (that have
 very long file names, by the time the full path is specified) and a lot
 of hard links.  It seems that the directory is being copied piecemeal -
 that
 is, if I run rsync enough times, the entire contents ultimately get
 copied.  It seems like I am running into some hard limit in the size of
 the filelist or something.
 
 I am running 2.4.6 on linux - the source directory is remote mounted on
 solaris, the destination is linux.
 
 For instance, I have a directory that is in the tree that contains 173
 files at the source - most of which are hard links - here is the  effect
 of an ls | wc on the destination after five succesive identical runs of
 rsync on the source (this is in a subdirectory of one of the directories
 in the command below).  The directory did not exist before running the
 sync.
 
 [root@ks-s0-107-1- SC]# ls | wc
  49  491286
 [root@ks-s0-107-1- SC]# ls | wc
  85  852234
 [root@ks-s0-107-1- SC]# ls | wc
 120 1203243
 [root@ks-s0-107-1- SC]# ls | wc
 152 1524112
 [root@ks-s0-107-1- SC]# ls | wc
 173 1734739
 
 So that it seems to have synched 49, then 36, then 35, then 32, the
 finally the last 21 files in the directory. (The increment seems to vary
 if I try it again, i.e. from 49 to 90).
 
 I get no error mesages (that I can see).  In fact, the first time I run
 the program, it seems to notice all
 the files and produces 163 messages that file blah-de-blah is a hard
 link, but then doesn't
 seem to make the link for file blah-de-blah - this behavior remains
 constant with each succesive run.
 
 Here is the rsync command (generated by a perl script and broken into
 little pieces by my mailer)
 
 rsync -e 'ssh -l root -p 8989' --rsync-path /usr/bin/rsync --stats
 --progress -tpgoCHr -v -v   --include install/ --include
 install/kickstart/ --include install/kickstart/zantaz_upgrade/ --include
 install/kickstart/zantaz_upgrade/20011121/ --include install/redhat-7.1/
 --include install/redhat-7.1/zantaz_rpm_upgrade/ --include
 install/redhat-7.1/zantaz_rpm_upgrade/DS05_00_00-SAM-SUN-20011121/
 --include
 install/redhat-7.1/zantaz_rpm_upgrade/DS05_00_00-SAM-SUN-20011121-devel/
 --include install/kickstart/zantaz_upgrade/20011121/** --include
 install/redhat-7.1/zantaz_rpm_upgrade/DS05_00_00-SAM-SUN-20011121/**
 --include
 install/redhat-7.1/zantaz_rpm_upgrade/DS05_00_00-SAM-SUN-20011121-devel/**
 --exclude *  /net/swdev/staging/* [EMAIL PROTECTED]:/
 
 Thanks,
 
 Dave
 
 
 
 
 
 




Re: Not all files synched - hard link problems???

2001-11-27 Thread Martin Pool

On 27 Nov 2001, Dave Dykstra [EMAIL PROTECTED] wrote:
 
 Unfortunately there is no way to search the archive.  That would be very
 useful.

Just use google and say

  site:lists.samba.org rsync mbp prototype

or whatever.

-- 
Martin