Displaying 20 results from an estimated 10000 matches similar to: "what is the right exit code for some vanished files?"
2007 Aug 23
4
can rsync scan files only with mtime since T?
Hi
I have a file system that contains millions of small files. Since I
backup it everyday with rsync using slow WAN link, I think it will be
nice that if rsync can do this:
An option that let rsync only check with remote rsync daemon about local
files that has last modification time newer than one day ago (so is
modified since yesterday backup). This can greatly reduce the WAN
traffic.
Is this
2007 Dec 13
3
rsync 3.00pre6 segfault in add_dirs_to_tree
Hi All
I run rsync in an automated environment and it sometime will crash and
leave a core dump file. from core dump, gdb shows that
gdb) bt
#0 add_dirs_to_tree (parent_ndx=-1, from_flist=0x56c590, dir_cnt=1) at
flist.c:1422
#1 0x0000000000409eab in send_file_list (f=16, argc=-1, argv=0x56c238)
at flist.c:2068
#2 0x0000000000419052 in client_run (f_in=16, f_out=16, pid=-1, argc=1,
2008 Mar 13
3
untransferred files
Hi All
Some time rsync just return error code 23 that some files are not
transferred. Is there a way to get a list of these files so we can retry
it later time?
For example, we scan the whole file system and N files are not
transferred. Instead of scan the whole file system later again, we can
use files-from which is much faster.
Thanks.
--
Ming Zhang
@#$%^ purging memory... (*!%
2007 Jun 22
2
huge number of files
Hi All
I would like to use rsync to synchronize two file system tree over WAN
periodically. The file system trees contain millions of small image
files. Base on our understanding, rsync try to generate file name list
before doing any operation, we easily run short of memory and have
impact on our normal file system activities.
I wonder if rsync can have an option that when it scan the file
2008 Feb 06
3
Windows Trouble with --link-dest set: "file not found" when rsync tries to create hard link
I have great luck running rsync from one linux system to another, or
from a windows system (with cwRsync) to a linux system.
But when I try to do an rsync backup from one directory on a Windows
system to another, it fails. The cwRsync says its version is 2.6.9.
Here's my Rsync command, boiled down to its simplest:
rsync -rlptgD -vvv --delete --delete-excluded --modify-window=2
2008 Jan 09
2
module name check
Hi All
I tried to find out in the man page about what is the valid character we
can use in module name in rsyncd.conf but failed. Anyone knows?
Anyway, here is a bug.
I defines a module with abc/def as name.
$ rsync lab11-101::
abc/def
this one show the module name, but when i try to use it.
$ rsync vpn lab11-101::abc/def
@ERROR: Unknown module 'abc'
rsync error: error
2007 May 09
3
preserve EA?
Hi all
When rsync replicate one file to remote side, will the extended
attributes be copied as well? Thanks,
Ming
2008 Mar 25
1
rsync daemon did not chdir back after chdir in module path
Hi All
Tried to search the list but could not find anything about this.
I have a rsync daemon running with starting cwd as /usr/local/bin. then
after some io, and after all io finished, its cwd is /fs1 which is one
of the module path. now i need to umount fs1 and i can not do it. is
this a known issue or something worthy fix? not sure what else
information i need to provide.
thanks.
--
Ming
2008 Jan 24
1
how to know the detail about a partial transfer?
Hi All
We always run rsync with --files-from and sometime it gets a error code
23, partial transfer. is it possible to find out what files are not
transferred without check the error message by human eye(since we want
to do it in a script)?
Thanks.
--
Ming Zhang
@#$%^ purging memory... (*!%
http://blackmagic02881.wordpress.com/
http://www.linkedin.com/in/blackmagic02881
2007 Dec 07
1
exit code for vanished files in 2.6.9
I am using rsync 2.6.9 (as currently packaged in Mandriva 2007.1)
Ever since the latest update of the package I have been getting an exit
code of 23 with the output "file has vanished: {filename}".
For partial transfers due to vanished files, I (and my script) would
expect exit code 24.
(man page)
23 Partial transfer due to error
24 Partial transfer due to vanished source
2008 Apr 29
2
writefd_unbuffered failed to write 4 bytes
Hi All.
On Mac OS10.4, using rsync 3.0, it stops during a transfer.
I mount an SMB share, and then use the line:
sudo rsync -avhi --delete --stats --timeout=360 --progress
--log-file=/Volumes/backup/20080429/rsynclog.txt --exclude="*:*"
/Volumes/RAID_One /Volumes/backup/20080429
There's a few terabytes of data, and it never finishes a complete run.
It can stop at anywhere during
2007 Dec 14
1
logical volumes alignment
Hi all! I'd like to use rsync to keep aligned physical volumes between
linux servers. I know that there are other tools but I really need to
use rsync.
I would like to do something as
rsync /dev/VG/SourceLogicalVolume
root@dest_server:/dev/VG/DestinationLogicalVolume
Do you think could it be possible?
Thanks
Marco
2008 Jan 04
2
Moved/Renamed Files
Hi,
It seems that rsync transfers files whose names was changed or which
were moved to another directory since the previous synchronization. I
think that ability not to transfer (large) files which are present on
another computer would be very helpful. Right before rsync is going to
transfer some large file it could check if there some other files with
the same size ( and maybe the same mtime
2007 Nov 19
1
Detecting reason for rsync errors
Hello guys!
I'm doing a middle scale backup job using ccollect [0], which uses
rsyn, with about 50 servers, each about 1-10 GiB changes per day and have
some problems, that servers do not finish their backup completly:
[host1.backup] Read from remote host host1.backup: Connection reset by peer
[host1.backup] rsync: connection unexpectedly closed (41306592 bytes received so far) [receiver]
2004 Jan 07
1
2.6.0 "file has vanished" fails to set exit code on local client
A new 2.6.0 feature is supposed to use a different exit code when the
only 'errors' were from files that disappeared between the building
of the file list and the actual transfer of files.
But if the client is local and the server is remote, IOERR_VANISHED
gets set on the remote server, but is never passed to the local
client (the io_error value is passed at the end of the file list,
not
2008 Oct 20
2
--files-from standard input
Hi All
If rsync gets files from standard input, when it starts to process that
file, immediately or read until EOF, or somewhere in between?
For example, if a list is generated slowly but continuously and keep
feeding to rsync, will rsync wait a very long time before ever handling
the first file?
Is this behavior controllable?
Thanks!
Ming
--
never so busy...
2007 Dec 17
4
Rsync 3.0.0pre7 released
I've just released rsync 3.0.0pre7, the latest pre-release version of
the upcoming 3.0.0 release.
This release contains fixed exclude checks for a "use chroot = no"
daemon that has excludes listed in the config file. This is a partial
fix for the 2nd advisory that was released recently. See the rsync
security web page for the updated details and a patch for 2.6.9:
2007 Dec 17
4
Rsync 3.0.0pre7 released
I've just released rsync 3.0.0pre7, the latest pre-release version of
the upcoming 3.0.0 release.
This release contains fixed exclude checks for a "use chroot = no"
daemon that has excludes listed in the config file. This is a partial
fix for the 2nd advisory that was released recently. See the rsync
security web page for the updated details and a patch for 2.6.9:
2007 Jul 10
0
rsync 3.0.0
Hi All
Any idea when the 3.0.0 will be rolled out? Thanks!
--
Ming Zhang
@#$%^ purging memory... (*!%
http://blackmagic02881.wordpress.com/
http://www.linkedin.com/in/blackmagic02881
--------------------------------------------
2007 Nov 12
0
better rsync error code when no space?
Hi All
I ran into this situation when rsync some files to remote side and
remote file system run out of space.
rsync: writefd_unbuffered failed to write 4 bytes [sender]: Connection
reset by peer (104)
rsync: write failed on "/IMG_5106.JPG" (in dest): No space left on
device (28)
~~~~ no space was detected and reported.
rsync error: error in file IO (code 11) at receiver.c(298)