Rsync batch update

2002-07-11 Thread Matt Simonsen

I am very interested in the batch update process and multi-casting the
data. Is there anywhere in particular I should look? I have gone to the
main link from the man page and am feeling a little overwhelmed by it
and the apparent lack of how-to type documents.

I would like to help with this if I had something I could do. Please
contact me off-line if you are on development related to this if you
need testers, documentation writers, etc.

Thanks
Matt





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



Re: Compile 2.5.2 on RedHat 6.2

2002-03-07 Thread Matt Simonsen

OK - that's 3 individuals with Redhat 6.2 installs who have encountered this.
I'm pretty sure it's a real problem (ie I can duplicate it and others have
had it, too).

Is there a more appropriate place to submit this bug or something that I can
do to help have it fixed? I am not competent to debug the C code, but I am
willing and able to provide any debugging info.

Thanks!
Matt

On Thursday 07 March 2002 03:19 pm, Scott Russell wrote:
 For what it's worth I saw the same error. 2.5.1 worked fine however.
 I never found a solution.

 -- Scott

 In mailinglists.external.rsync, you wrote:
  I am running RedHat 6.2 on many of my servers and am receiving the
  following errors when compiling Rsync 2.5.2:
 
  [root@wrapguy rsync-2.5.2]# make
  gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o rsync.o
  In file included from rsync.c:23:
  rsync.h:339: warning: no semicolon at end of struct or union
  rsync.h:339: parse error before `inode'
  rsync.h:341: parse error before `dev'
  rsync.h:341: warning: type defaults to `int' in declaration of `dev'
  rsync.h:341: warning: data definition has no type or storage class
  rsync.h:344: parse error before `rdev'
  rsync.h:344: warning: type defaults to `int' in declaration of `rdev'
  rsync.h:344: warning: data definition has no type or storage class
  rsync.h:347: `basename' redeclared as different kind of symbol
  /usr/include/string.h:317: previous declaration of `basename'
  rsync.h:350: `link' redeclared as different kind of symbol
  /usr/include/unistd.h:678: previous declaration of `link'
  rsync.h:352: parse error before `}'
  rsync.h: In function `flist_up':
  rsync.h:420: dereferencing pointer to incomplete type
  rsync.c: In function `set_perms':
  rsync.c:165: dereferencing pointer to incomplete type
  rsync.c:168: dereferencing pointer to incomplete type
  rsync.c:178: dereferencing pointer to incomplete type
  rsync.c:179: dereferencing pointer to incomplete type
  rsync.c:179: dereferencing pointer to incomplete type
  rsync.c:184: dereferencing pointer to incomplete type
  rsync.c:188: dereferencing pointer to incomplete type
  rsync.c:189: dereferencing pointer to incomplete type
  rsync.c:206: dereferencing pointer to incomplete type
  rsync.c:208: dereferencing pointer to incomplete type
  rsync.c:152: warning: `change_uid' might be used uninitialized in this
  function
  rsync.c:152: warning: `change_gid' might be used uninitialized in this
  function
  rsync.c: In function `finish_transfer':
  rsync.c:245: dereferencing pointer to incomplete type
  make: *** [rsync.o] Error 1

---

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



Re: Compile 2.5.2 on RedHat 6.2

2002-03-07 Thread Matt Simonsen

OK - that's 3 individuals with Redhat 6.2 installs who have encountered this. 
I'm pretty sure it's a real problem (ie I can duplicate it and others have 
had it, too).

Is there a more appropriate place to submit this bug or something that I can 
do to help have it fixed? I am not competent to debug the C code, but I am 
willing and able to provide any debugging info.

Thanks!
Matt

On Thursday 07 March 2002 03:19 pm, Scott Russell wrote:
 For what it's worth I saw the same error. 2.5.1 worked fine however.
 I never found a solution.

 -- Scott

 In mailinglists.external.rsync, you wrote:
  I am running RedHat 6.2 on many of my servers and am receiving the
  following errors when compiling Rsync 2.5.2:
 
  [root@wrapguy rsync-2.5.2]# make
  gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsync.c -o rsync.o
  In file included from rsync.c:23:
  rsync.h:339: warning: no semicolon at end of struct or union
  rsync.h:339: parse error before `inode'
  rsync.h:341: parse error before `dev'
  rsync.h:341: warning: type defaults to `int' in declaration of `dev'
  rsync.h:341: warning: data definition has no type or storage class
  rsync.h:344: parse error before `rdev'
  rsync.h:344: warning: type defaults to `int' in declaration of `rdev'
  rsync.h:344: warning: data definition has no type or storage class
  rsync.h:347: `basename' redeclared as different kind of symbol
  /usr/include/string.h:317: previous declaration of `basename'
  rsync.h:350: `link' redeclared as different kind of symbol
  /usr/include/unistd.h:678: previous declaration of `link'
  rsync.h:352: parse error before `}'
  rsync.h: In function `flist_up':
  rsync.h:420: dereferencing pointer to incomplete type
  rsync.c: In function `set_perms':
  rsync.c:165: dereferencing pointer to incomplete type
  rsync.c:168: dereferencing pointer to incomplete type
  rsync.c:178: dereferencing pointer to incomplete type
  rsync.c:179: dereferencing pointer to incomplete type
  rsync.c:179: dereferencing pointer to incomplete type
  rsync.c:184: dereferencing pointer to incomplete type
  rsync.c:188: dereferencing pointer to incomplete type
  rsync.c:189: dereferencing pointer to incomplete type
  rsync.c:206: dereferencing pointer to incomplete type
  rsync.c:208: dereferencing pointer to incomplete type
  rsync.c:152: warning: `change_uid' might be used uninitialized in this
  function
  rsync.c:152: warning: `change_gid' might be used uninitialized in this
  function
  rsync.c: In function `finish_transfer':
  rsync.c:245: dereferencing pointer to incomplete type
  make: *** [rsync.o] Error 1

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



Compile 2.5.2 on RedHat 6.2

2002-03-05 Thread Matt Simonsen

I am running RedHat 62 on many of my servers and am receiving the following 
errors when compiling Rsync 252:

[root@wrapguy rsync-252]# make
gcc -I -I -g -O2 -DHAVE_CONFIG_H -Wall -W -c rsyncc -o rsynco
In file included from rsyncc:23:
rsynch:339: warning: no semicolon at end of struct or union
rsynch:339: parse error before `inode'
rsynch:341: parse error before `dev'
rsynch:341: warning: type defaults to `int' in declaration of `dev'
rsynch:341: warning: data definition has no type or storage class
rsynch:344: parse error before `rdev'
rsynch:344: warning: type defaults to `int' in declaration of `rdev'
rsynch:344: warning: data definition has no type or storage class
rsynch:347: `basename' redeclared as different kind of symbol
/usr/include/stringh:317: previous declaration of `basename'
rsynch:350: `link' redeclared as different kind of symbol
/usr/include/unistdh:678: previous declaration of `link'
rsynch:352: parse error before `}'
rsynch: In function `flist_up':
rsynch:420: dereferencing pointer to incomplete type
rsyncc: In function `set_perms':
rsyncc:165: dereferencing pointer to incomplete type
rsyncc:168: dereferencing pointer to incomplete type
rsyncc:178: dereferencing pointer to incomplete type
rsyncc:179: dereferencing pointer to incomplete type
rsyncc:179: dereferencing pointer to incomplete type
rsyncc:184: dereferencing pointer to incomplete type
rsyncc:188: dereferencing pointer to incomplete type
rsyncc:189: dereferencing pointer to incomplete type
rsyncc:206: dereferencing pointer to incomplete type
rsyncc:208: dereferencing pointer to incomplete type
rsyncc:152: warning: `change_uid' might be used uninitialized in this 
function
rsyncc:152: warning: `change_gid' might be used uninitialized in this 
function
rsyncc: In function `finish_transfer':
rsyncc:245: dereferencing pointer to incomplete type
make: *** [rsynco] Error 1


I really do not want to use an RPMs, I have searched but only found one 
person with the same problem - no answers, though Any help would be greatly 
appreciated

Thanks
Matt

--
To unsubscribe or change options: http://listssambaorg/mailman/listinfo/rsync
Before posting, read: http://wwwtuxedoorg/~esr/faqs/smart-questionshtml



How to copy 1,000,000,000 files efficiently

2001-05-04 Thread Matt Simonsen

Hello all-

We are in the process of developing a system which will need to daily copy
one million small (10k) files from one directory on one server to ten
others. Many of the files will not change.

Until now we have been using the rsync -e ssh approach, but as we have
started to add files (we are at 75,000) the time to generate a file list +
copy the files is far too slow. Is there a way to efficiently distribute the
data to all 10 servers without building the file list ten times? Any tips
that wise gurus could share would be very appreciated. Also, is there a
performance benefit from running Rsync as a daemon? Finally, is there any
other tool we could utilize with our without Rsync to help this process go
faster. As it stands now we believe that with the files in multiple
directories the process goes faster based on our initial tests.

Thanks
Matt





List search? Plus one Question

2001-02-08 Thread Matt Simonsen

Hello all, I'm new so pardon this email if my questions are regular
ones...

First, is there a search for the archives?

Second, I am working on a script and would like Rsync compare all the
text files in DirectoryA and in DirectoryB/below. I then want it to copy
any of the .txt files that are not identical to a 3rd directory, let's
say DirectoryC. How could I do this?

Example lines of code would be *greatly* apprecitated. I am pretty sure
this is possible but I am just not experianced at reading Unix
documentation and am having problems puting it all together.

Thanks
Matt