search for: send_file_list

Displaying 20 results from an estimated 97 matches for "send_file_list".

2004 Apr 21
1
rsync-2.6.1pre-1 hang
...0x2a344742 in ?? () #1 0x2a3a2d20 in ?? () #2 0x00000020 in ?? () #3 0x598062b0 in ?? () #4 0x0805a150 in make_file (fname=0x0, flist=0x0, exclude_level=69) at flist.c:879 #5 0x0805a3bc in send_file_name (f=3, flist=0x41, fname=0x0, recursive=65, base_flags=0) at flist.c:932 #6 0x0805a845 in send_file_list (f=1, argc=1501590384, argv=0x0) at flist.c:1033 #7 0x08053e1a in hash_search (f=1, s=0x0, buf=0x0, len=577936410078638920) at match.c:170 #8 0x08054003 in hash_search (f=1, s=0x0, buf=0x0, len=0) at match.c:202 #9 0x08054726 in match_sums (f=30, s=0x806d638, buf=0x0, len=128983684031) at match....
2008 Dec 17
1
rsync 3.0.4 hangs when I increase verbosity
...w...rsync --dry-run -aucvvvX --log-file=fly-dryrun.txt /Volumes/airplane/ /Volumes/plane/flight when running the above command, rsync idles with no action. Anything above 2 v's (-vv), rsync will sit at message below.--------------------------[sender] make_file(\#342\#200\#242Unused Art,*,2)send_file_list done--------------------------1) What's going on? Is it because the source have probably 5000 sub folders and total size is around 200 to 300 GB?Doing a ktrace shows the info below...18176 rsync CALL write(0x4,0x1804200,0x30) 18176 rsync GIO fd 4 wrote 48 bytes "2008/12/1...
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...) && !recurse) { - rprintf(FINFO,"skipping directory %s\n",fname); + if (S_ISDIR(st.st_mode) && !recurse && !send_dirs) { + rprintf(FINFO,"make_file: skipping directory %s\n",fname); return NULL; } @@ -689,14 +690,16 @@ } -struct file_list *send_file_list(int f,int argc,char *argv[]) +static struct file_list *send_file_list_proc(int f,char *(*ffunc)(), void *opq) { - int i,l; + int l; STRUCT_STAT st; char *p,*dir,*olddir; char lastpath[MAXPATHLEN]=""; struct file_list *flist; int64 start_write; + char *in_fn; + extern int implic...
2003 Jan 14
4
specifying a list of files to transfer
...; !recurse && !send_dirs) { + rprintf(FINFO, "make_file: skipping directory %s\n", fname); return NULL; } @@ -856,14 +857,16 @@ * I *think* f==-1 means that the list should just be built in memory * and not transmitted. But who can tell? -- mbp */ -struct file_list *send_file_list(int f, int argc, char *argv[]) +static struct file_list *send_file_list_proc(int f, char *(*ffunc)(), void *opq) { - int i, l; + int l; STRUCT_STAT st; char *p, *dir, *olddir; char lastpath[MAXPATHLEN] = ""; struct file_list *flist; int64 start_write; + char *in_fn; + extern in...
2004 Oct 17
0
modify rsync: read files from a tar archive
...- obviously, things like systemimager and cfengine could use this feature. Mode of use: something like rsync --tar /filesystem/image/file.tar target/file/system this would not copy file.tar but would act like file.tar was unpacked in the source directory. As places to modify, I identified the send_file_list function (and, going from there, send_uid_list) and the send_files functions. I plan to look at the implementation of the --files-from option, at least for the implementation of send_file_list: just fetch the list of files from that tar file instead of a file. libtar would be used to access t...
2001 Aug 31
0
Weird file permission behavior
...version=24 receiving file list ... add_exclude(.snapshot) [This all goes fine . . . ] recv_file_list done get_local_name count=5 /service/eftp/ [Lots of excludes get added] make_file(-1,customers) make_file(-1,customers/andan) make_file(-1,customers/rbak) make_file(-1,customers/rbak/OID308.netapp7) send_file_list done deleting in customers generator starting pid=24711 count=5 recv_files(5) starting recv_generator(customers,0) send_file_list done recv_generator(customers/andan,1) [###### Here is the trouble spot ######] send_files starting recv_generator(customers/rbak,2) recv_generator(customers/rbak/OID3...
2012 Oct 12
1
Problem rsyncing 450GB file to my NAS: 'connection unexpectedly closed'
...f the NAS. Any hints what might be the problem? Thanks - Ben myhost:~# rsync -avvv /srv/storage rsync at naspy::Backups -P opening tcp connection to naspy port 873 sending daemon args: --server -vvvlogDtpre.iLsf --partial . Backups/ sending incremental file list [sender] make_file(storage,*,0) send_file_list done [sender] make_file(storage/7N-ZDGtCZq01gFJQEd8eqPuiGbumCWtPoje-4KMVfzIFs1,*,2) [sender] make_file(storage/PmjyreYXD0Istwvp-8D6PWA5zeZP1DdbboxuS3xGZphQe1,*,2) [sender] make_file(storage/JKsb9I8-7dP6cFjao0omRCfj,*,2) [sender] make_file(storage/O4tK1PXwyelx8Oju,1sC-xfRUYg5cnMrPxeo5FTpE-AEM-,*,...
2008 Dec 15
1
rsync architecture
...c source code. I could see that there are main three processes: I realize that Server or Client becomes Sender or Receiver based on arguments provided. 1. Daemon start_daemon : clientserver.c 2. Server if(sender) { call recv_filter_list : exclude.c call send_file_list : flist.c call send_files : sender.c } else { call recv_filter_list : exlude.c call recv_file_list : flist.c call do_recv : main.c call recv_files : receiver.c call generate files : generator.c }...
2007 Dec 14
2
what is the right exit code for some vanished files?
Hi What should be the right exit code for vanished file in this scenario. (1) Use inotify or other mechanism to check changed files and then generate a file list. (2) < file get deleted> (3) run rsync with --files-from with the old list. then send_file_list()->link_stat() will return errno 2 on some files and then set exit code to 23. but shall rsync return 24? -- Ming Zhang @#$%^ purging memory... (*!% http://blackmagic02881.wordpress.com/ http://www.linkedin.com/in/blackmagic02881 --------------------------------------------
2004 Jan 19
1
daemon mode - local to server sync failing
...77 /rsync/client/scriptoutput/* nodeA::clientdata and get the following output: opening tcp connection to nodeA port 1477 make_file(3,TEST) expand file_list to 4000 bytes, did move make_file(3,TEST3) [64950] i=0 <NULL> TEST mode=0100644 len=0 [64950] i=1 <NULL> TEST3 mode=0100644 len=0 send_file_list done file list sent send_files starting rsync: read error: Connection reset by peer _exit_cleanup(code=12, file=io.c, line=177): entered rsync error: error in rsync protocol data stream (code 12) at io.c(177) _exit_cleanup(code=12, file=io.c, line=177): about to call exit(12) I am relatively new t...
2010 Oct 29
1
What won't rsync sync this file?
...em/htdocs/docs/gis/GIS_NOD.htm webuser at appprod::dprweb_extranet/em /htdocs/docs/gis/ opening tcp connection to appprod port 873 sending daemon args: --server -vvvltprze.isf --delete --partial . dprweb_extranet/em/htdocs/docs/gis/ sending incremental file list [sender] make_file(GIS_NOD.htm,*,0) send_file_list done send_files starting send_files phase=1 send_files phase=2 send files finished total: matches=0 hash_hits=0 false_alarms=0 data=0 Number of files: 1 Number of files transferred: 0 Total file size: 19654 bytes Total transferred file size: 0 bytes Literal data: 0 bytes Matched data: 0 bytes Fi...
2003 Jan 14
1
rsync hanging with openssh-2.9.9p2 as the transport
...occur when the transport is rsh. I'm invoking rsync as follows: rsync -RlHptgoD --numeric-ids -e "ssh" -rzx --stats . remotehost:/nfs/mirror But it hangs when there are large numbers of files in the "." filesystem. If I run with -vvv, I see lots of make_file entries as send_file_list starts sending the list of files to the remote host, but then it freezes after around 4500 to 6500 make_file messages. I see the same problem with versions 2.4.6, 2.5.5, and 2.5.6pre1. And I see it on linux 2.4.18 (red hat 8.0) and solaris 8/x86. I can get it to work by breaking it up into chunks...
2018 Dec 30
2
--partial does not "unhide" the files
...tiated=31 (Client) Protocol versions: remote=31, negotiated=31 sending incremental file list [sender] change_dir(/home/heiko/Pictures) [sender] make_file(x,*,0) [sender] flist start=1, used=1, low=0, high=0 [sender] i=1 . x mode=0100644 len=0 uid=1000 gid=1000 flags=1005 send_file_list done [sender] flist_eof=1 file list sent send_files starting server_recv(2) starting pid=21983 uid 1000(heiko) maps to 1000 gid 1000(heiko) maps to 1000 recv_file_name(x) received 1 names [Receiver] flist start=1, used=1, low=0, high=0 [Receiver] i=1 1 x mode...
2001 Nov 08
4
win2k + >2GB files problem
...les from my linux box (with rsync reporting negative file sizes during download :), but I want to use rsync to back up the win2k host so I need to UPload my soo-large files which does not work. c:\rsync>rsync -avvv big.file otherhost::whatever building file list ... make_file(3,big.file) done send_file_list done send_files starting send_files(0,big.file) send_files mapped big.file of size -1692471296 calling match_sums big.file big.file sending file_sum false_alarms=0 tag_hits=0 matches=0 sender finished big.file send_files phase=1 send files finished total: matches=0 tag_hits=0 false_alarms=0 data=...
2009 Jul 14
1
--delete not working (minimal example)
...ior is that box2/extra should be deleted. (rsync version 3.0.3 protocol version 30 on Ubuntu 8.10. Example done on a reiserfs partition) Here's output with more verbose options $ rsync -a -vvv box1/ box2/ sending incremental file list [sender] make_file(.,*,0) [sender] make_file(letter,*,2) send_file_list done send_files starting server_recv(2) starting pid=4777 recv_file_name(.) recv_file_name(letter) received 2 names recv_file_list done get_local_name count=2 box2/ generator starting pid=4777 delta-transmission disabled for local transfer or --whole-file recv_generator(.,0) recv_files(2) starting...
2004 Aug 05
0
[Bug 1582] New: rsync dry run cannot find missing folders, contradicts actual run.
...r4/gar3,*,2) [sender] make_file(junkdir4/gardir1,*,2) [sender] make_file(junkdir4/gardir1/blah2,*,2) [sender] make_file(junkdir4/gardir1/blah3,*,2) [sender] make_file(junkdir4/gardir1/blah1,*,2) [sender] clearing per-dir .cvsignore exclude list [sender] clearing per-dir .cvsignore exclude list done send_file_list done send_files starting server_recv(2) starting pid=433406 recv_file_name(junkdir4) recv_file_name(junkdir4/gar1) recv_file_name(junkdir4/gar2) recv_file_name(junkdir4/gar3) recv_file_name(junkdir4/gardir1) recv_file_name(junkdir4/gardir1/blah2) recv_file_name(junkdir4/gardir1/blah3) recv_file_nam...
2004 Jul 14
12
HP-UX 11i and largefiles on rsync 2.6.2
Hello, I'm running HP-UX 11i on an rp74xx. It's 64-bit. C compiler is as follows: B3901BA B.11.11.03 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800) B3913DB C.03.30.02 HP aC++ Compiler (S800) /usr/bin/cc: LINT B.11.11.02 CXREF B.11.11.02 HP92453-01 B.11.11.02 HP C Compiler $ Sep 8 2000 23:13:51 $ I have successfully compiled rsync 2.6.2 and it
2003 Jul 24
0
(no subject)
...= recv_file_list(f_in); if (!flist) { rprintf(FERROR,"server_recv: recv_file_list error\n"); exit_cleanup(RERR_FILESELECT); *************** *** 602,607 **** --- 597,610 ---- send_exclude_list(f_out); if (!read_batch) /* dw -- don't write to pipe */ flist = send_file_list(f_out,argc,argv); + else { + if (remote_version < 27) { + rprintf(FERROR,"Version Error for remote batch\n"); + exit_cleanup(RERR_FILESELECT); + } + flist = create_flist_from_batch(); /* sets batch_flist */ + send_batch_file_list( f_out, flist ); + }...
2004 May 20
3
two-way synchronization accross a firewall fails
...ync --server --daemon . root@est.llnl.gov's password: building file list ... [sender] make_file(rsync_test,*,2) [sender] expand file_list to 131072 bytes, did move [sender] make_file(rsync_test/t,*,2) [sender] make_file(rsync_test/core,*,2) [sender] clearing per-dir .cvsignore exclude list done send_file_list done send_files starting rsync: connection unexpectedly closed (28 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(342) _exit_cleanup(code=12, file=io.c, line=342): about to call exit(12)
2004 Dec 28
2
trouble with chmod on certain symlinks
...31072 bytes, did move [sender] make_file(/etc/courier,*,2) [sender] make_file(/etc/courier/imapd,*,2) [sender] make_file(/etc/courier/imapd-ssl,*,2) [sender] make_file(/etc/courier/imapd.pem,*,2) [sender] make_file(/etc/courier/authdaemonrc,*,2) [sender] popping per-dir .cvsignore exclude list done send_file_list done send_files starting server_recv(2) starting pid=3885 recv_file_name(/etc) recv_file_name(/etc/courier) recv_file_name(/etc/courier/imapd) recv_file_name(/etc/courier/imapd-ssl) recv_file_name(/etc/courier/imapd.pem) recv_file_name(/etc/courier/authdaemonrc) received 6 names recv_file_list done...