Hi,
i use rsync version 2.6.9 protocol version 29 on Mac OS X 10.6.3 and
expierienced the following problem.
When using --link-dest=DIR with DIR on the startup volume everything works fine.
If DIR is a volume on an external drive many files are copied instead of
creating hard links.
hardlinks
he problem.
Thanks also for your other hints.
Best regards
Martin
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
gt; something like that, if it seems interesting enough.)
Mutt actually handles this really well: Lotus sends a
multipart/alternative, and mutt is smart enough to use the text/plain
form and ignore the HTML.
Regardless of HTML flamewars, auto-replying to list messages is
silly.
--
Martin
mote:/path/to/file/arch
>
> Any ideas? It's on an OpenBSD box going to a FreeBSD box. Both are
> 2.4.6.
--bwlimit only works if you use it...
--
Martin
/s by ten often gives a
reasonable estimate for bytes/s, since most transports have some
framing or interpacket or redundancy overhead.
--
Martin
#x27;*' /tmp/remoteimages/
If you just want a list of them:
rsync -avp remote::gif/ --include '*.jpg' --include '*.gif' \
--include '*/' --exclude '*'
--
Martin
nd then apply it later, possibly transferring it by some
other mechanism.
--
Martin
and trying to insert the corresponding
changes at the right place. If you use emacs you might like to use
emerge.
See http://cvs.samba.org/ for instructions on getting an anonymous cvs
checkout.
--
Martin
ch contains the
necessary information. We need to think carefully to make sure this
is secure though.
--
Martin
new model of operation
then perhaps it would be better to use librsync and make it a
completely separate program.
At this stage I'm inclined to take the conservative answer to both
questions, but having a discussion about them could be useful.
--
Martin
d stick it in an
options struct.
People who work with Apache should try the mostly-undocumented -X
option, which tells it to not detach and also not fork on incoming
connections. For debugging that's even more useful.
--
Martin
hem?
You probably want something like
patch -p0 < ~/rsync.diff
--
Martin
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
On 27 Nov 2001, Dave Dykstra <[EMAIL PROTECTED]> wrote:
> 2.4.7 isn't released yet. Martin has put a lot of changes in the last week
> into CVS, and when I tried it yesterday it didn't compile anywhere but
> Linux. Today it looks a bit better but I still have probl
thing I see is the
> "match_report" message, then the program hangs in select.
Please try running the version in anoncvs. See cvs.samba.org.
I will make a preview release shortly which might help if you can't
get the anoncvs version to work.
--
Martin
gt; 4. Unixware 1.1.2 and UTS 2.1.2 had missing S_ISLNK and S_ISSOCK
> macros which are defined in rsync.h. Maybe all the lib files
> should just include rsync.h.
Yes, I did that in (I think) getnameinfo/getaddrinfo, but we should do it
in the others as well.
That's great, thankyou.
--
Martin
-exec rmdir {} \;
I think the best fix is to add scripting support:
rsync -avu --perl 'filter() { ( -d && -s ) || /\.c$/; }' here friendly:/tmp
Anybody else like this idea?
--
Martin
mp; ofs > last_ofs + 1000
+&& msdiff(&print_time, &now) > 250) {
+ rprint_progress(ofs, size, &now);
+last_ofs = ofs;
+print_time.tv_sec = now.tv_sec;
+print_time.tv_usec = now.tv_usec;
}
}
- End forwarded message -
--
Martin
> sun/amdahl/unixware patch
All these are applied now. I changed the library routines to just
include rsync.h
--
Martin
C/ANSI C product;
ignored.
(Bundled) cc: "configure", line 4987: error 1705: Function prototypes are an ANSI
feature.
configure:5005: $? = 1
We have access to the professional compiler kit, but I wanted to see
if it would work with the stock compiler.
--
Martin
http://sourceforge.net/projects/xdelta/
> and Martin Pool has turned it into a library in C (I don't see where the
> home page is -- Martin?).
It's part of http://rproxy.samba.org/
It works fine. I know the Intermezzo guys are using it inside their
distributed filesystem, as a
27;s
possible that they will still fail.
> > > > access_log
> > > > write failed on access_log : Success
> > > > unexpected EOF in read_timeout
That error often means the ssh connection is failing.
Can you please post the exact command you're running and the rsyncd
configuration file?
--
Martin
nel, if possible. Failing that
perhaps try attaching to it with
# strace -p PIDOFSTUNNEL -o /tmp/stunnel.trace
to see whether it exits or seems to get an error.
The command and config file look OK.
--
Martin
On 29 Nov 2001, Jeremy Hansen <[EMAIL PROTECTED]> wrote:
> rsync -avz --progress rsync://localhost/apache_logs/access_log .
tridge just reminded me that -a does *not* detect hardlinks. You need
-H too.
A documentation bug implied that -a was enough. I've just fixed it.
--
Martin
erent directories).
That's an interesting bug. Can you write a script to reproduce it?
Was anything else happening on the disk at the same time? Is it
possible you didn't give -a or -H?
--
Martin
anybody else want this or want it not to go in?
--
Martin
gt; http://rsync.samba.org/ftp/rsync/binaries/
>
>
> Uh oh, I haven't tried it since the machine samba.org was migrated to new
> hardware, and I see the files have the wrong owner and group so I have no
> permission to update them. Tridge or Martin, can you please fix those
>
zlib/README.rsync
--
Martin
der if there are other 64 bit stat values that are being misinterpreted.
I agree, and added it to TODO.
We will need this on Linux as well, though it's anybody's guess
whether devfs and dynamic device numbers will make it mostly
irrelevant there.
--
Martin
y
version that doesn't understand --daemon.
--
Martin
eating the link.)
David, do you have a machine that behaves like this?
--
Martin
It seems like a harmless warning. Is it
reproducible? Are the file trees transferred correctly?
--
Martin
Does anybody care about supporting non-English message locales in
rsync? (Do all sysadmins speak English? :-) Would anybody contribute
translations if we had the framework?
--
Martin
loc.
Thankyou for the report. This should be fixed in 2.5.1pre1, which is
available from the usual site.
--
Martin
On 30 Nov 2001, Tom Schmidt <[EMAIL PROTECTED]> wrote:
> Attached is a patch for rsync 2.5.0 to fix the "make check" option.
Thankyou, commmitted.
--
Martin
a single directory in memory.
--
Martin
one or two packages that do this, but I can't
remember which ones right at the moment.
--
Martin
m.
>
> Some systems may not have typedef u_int{8,32}_t.
> I'm not sure whether we should use u_short/u_long instead of them.
Yes, we do build on systems which do not have them built in. We
normally use uchar and uint32, though note that on systems such as
CRAY they may actually be larger.
Thankyou,
--
Martin
tory xx" so it creates /backup/usr/xx
/usr/xx/ means "the contents of xx" so it copies the contents
directly into /backup/usr/ without creating an xx destination
directory.
Just use whichever one is appropriate.
--
Martin
On 21 Nov 2001, Jos Backus <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 21, 2001 at 08:54:18AM -0600, Dave Dykstra wrote:
> Here's a patch, based on Max Bowsher's patch. If deemed useful I will supply
> the man patch as well.
--no-detach patch committed.
--
Martin
nechika and Jun-ichiro "itojun"
Hagino.
* rsync.1 typo fix by Matt Kraai.
* Fix for segfault in rsyncd.conf parser by Paul Mackerras.
* Test suite typo fixes Tom Schmidt.
--
Martin
for uploading
> and downloading.
Please try 2.5.1pre3 if have time. It should work properly in daemon
mode and also fix some other bugs that may affect you later.
--
Martin
ge will be too disruptive, but of course I
wanted to consult before moving. Please send any comments to me or to
the list, whether they be "it's great, let's do it", or "I don't have
time to switch." (If you need to flame about the licence then please
send it direct to me rather than burning up the list.)
--
Martin
Incidentally, here's an interesting BitKeeper demostration/tutorial:
http://www.bitkeeper.com/demo/
--
Martin
ry to diff two directory
listings!
> Why _not_ take the conservation approach "unless somebody reports a
> problem" [sic]?
I'll speak to tridge, but I think we should pull this line out because
of the scenario Cameron describes.
--
Martin (Now on ZX12-R)
;ll just run GNU indent over it and commit directly --
no need to send a big noisy patch unless you really want to.
--
Martin
On 7 Dec 2001, Dave Dykstra <[EMAIL PROTECTED]> wrote:
> Martin, I don't think --enable-debug should define #DEBUG, I think it should
> only generate debugging symbols.
I think you're probably right.
--
Martin
hold all reasonable IPv6 encodings, and then cast it as
appropriate? I have not had a chance to follow this idea through yet.
Thankyou,
--
Martin
bit, so it will get
the default OS behaviour which is probably to set the bit on newly
modified files.
If anybody who cares about this writes a reasonably clean patch to
implement it then I guess it would be considered.
I think Samba can optionally map the A bit to the Unix x bit. Perhaps
you could try that.
--
Martin
ile is only partially
transferred.
--
Martin
necessary. Perhaps we can improve it...
--
Martin
ory is in fact the problem.
--
Martin
m but the rest of the lines in the files need to
> be mirrored. Thank You
That would be pretty hard to implement and of limited use to most
people.
Perhaps you can ship the standard and varying parts of the file
separately and combine them on the destination.
--
Martin
(struct file_struct *)malloc(sizeof(hlink_list[0])*flist->count)))
out_of_memory("init_hard_links");
There are certainly better ways to do this. To start with, hlink.c
only needs to even *think* about non-directories which have nlinks>1.
--
Martin
technical report if you have not already.
--
Martin
at way before.)
I just tested this, and it looks like it works.
Of course the drawback is that any regions *have* been deleted or
moved, rsync will retransmit the whole file. (You asked for it, you
got it.) But for the common case of appended files or interrupted
transfers it's pretty good.
I might add --block-size=max or --block-size=1M.
You should also check out --partial and -P.
--
Martin
5.0 at both ends?
Are you using rsh or ssh?
David: I suspect this might be because the "bit length overflow"
message is being emitted by one end, getting into stderr, and
therefore corrupting the stream. If this is true, you should be able
to avoid it by upgrading to 2.5.1pre.
Thnks,
--
Martin
using CVS HEAD, or
./configure --disable-debug
in 2.5.0 or 2.5.1pre3.
Thanks
--
Martin
n Polish?
--
Martin
col. I guess that wouldn't happen in socket(), but it's probably
generally good.
--
Martin
#x27;s more inconvenient & error prone than keeping
> global variables.
I see your point... Should we get rid of it, or add an initialization
function?
--
Martin
Some of them might be obsolete now, but it doesn't
seem worthwhile to take them out.
--
Martin
ow would it know which file is the relevant one?
If the changes are systematic, you might be able to run a pre or
post-processing script to move the files to the same name, then do the
transfer.
Alternatively, have your script run rsync only on the files that need
to be transferred.
--
Martin
ments, or does this option not work in that case,
or is the file named to be opened on the remote machine?
--
Martin
ETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_INET_PTON 1
into config.h after running ./configure.
Let us know.
--
Martin
ng. If netstat on your platform supports
other options to get more info like -p -o -e then you can specify them
as well.
Thanks.
--
Martin
Mailman has been upgraded; please ignore this message.
--
Martin
all noticing that rsync
always> did that, but I don't think it's a very recent change.
Yes, that looks like a good fix.
--
Martin
re trying to do...
If you want to start the server, you need to edit /etc/rsyncd.conf and
then do
# rsync --daemon
If you want to access this
rsync mymachine::
--
Martin
>
>
> Tim ;)
>
ehaviour by using --dry-run first to see if the
proposed modifications are reasonable. If you discover any bugs that
cause --dry-run not to be accurate then please report them.
--
Martin
The daffodils are coming. Are you?
linux.conf.au, February 2002, Brisbane, Australia
gt;
> My hunch is that this is happening because I'm dealing with NTFS5 on Win2K
> and NTFS4 on NT4.
I think there are some NT APIs that only return time in 2sec
resolution. Possibly Cygwin is using them? (Why would it, though?)
--
Martin
The daffodils are coming. Are you?
linux.conf.au, February 2002, Brisbane, Australia
--- http://www.linux.org.au/conf
EXT, as it specifies the extension for the
> batch files.
>
> Another thought: maybe we should reserve -f and -F for something else and just
> stick with the long options? What do you think?
That sounds like a good idea, as long as not too many people have
started using them alrea
y
# ifconfig eth0 mtu 1200
on the firewalled Linux box.
--
Martin
On 4 Jan 2002, Mike Li <[EMAIL PROTECTED]> wrote:
> Hi Martin,
>
> Is there a binary for rsync for NCR MP-RAS ver 3.0 running on Intel PIII
> Hardware?
I've never heard of that. What is it?
> I can't seem to be able to compile the source codes either even th
2.5.1
> checking build system type... ./config.guess: unable to guess system
> type
Well what about
./configure --build=i685-ncr-sysv4.3
?
--
Martin
will have the same behaviour.
> Running an rsync service should be considered with the same security
> caveats as running an ftp service.
.. or any other service.
I'm open to being convinced that we should change it, but I'm not
convinced yet.
--
Martin
I'm going to go ahead and move the source tree from CVS to BitKeeper.
Please don't make any commits to CVS until you hear from me. It's
fine to make checkouts.
--
Martin
nonymous checkout
If you have work in progress in CVS, then you should at some point make
a patch relative to CVS, and apply that patch to the BitKeeper tree. The
CVS server will still be available for historical versions.
We will have an unpacked source tree available for anonymous rsync
in the near future.
--
Martin
popt.
If you have gdb, then this would help
gdb ./rsync
run --help
(probably crashes here)
where
info locals
--
Martin
shmeat.net/projects/popt
and running the test cases with "make check". If they fail, please
try to get a C programmer with access to your machine to find the
problem. If they pass, then try installing libpopt and linking rsync
against that. (Use "make distclean; ./configure
--wit
ion of the file
on the destination, in which case it should be much more efficient than
the other two. Also, rsync can detect files which need to be transferred
based on date stamps, and can compress data in transit.
--
Martin
doesn't require twisting the
code too much.
--
Martin
On 9 Jan 2002, Harry Putnam <[EMAIL PROTECTED]> wrote:
>
> man rysnc says point blank that without the -l flag symbolic links
> will be ignored.
It also says that -a implies -l.
--
Martin
bout CPU and elapsed time, and perhaps
also VM usage.
I'm going to run some tests along these lines on my machine, and am
interested in seeing other results or comments on why they're not a
good way to do these measurements.
--
Martin
This looks like too much pain to justify the switch at the moment.
I'm going to at least hold it over for a while. Sorry for any
inconvenience.
--
Martin
erating diffs.
Thanks,
--
Martin
On 14 Jan 2002, Dave Dykstra <[EMAIL PROTECTED]> wrote:
> I asked Martin to explain how to do this on the rsync web page or better yet
> put a prompt for it there but he hasn't said he would or not.
Right, we should do that.
Pipermail is not ideal. I particularly hate the
I'm having second thoughts about merging the rsync+ / batch mode patch
into the main rsync release. It adds a lot of extra paths to the
code. I can see it will be useful for a few people, but I'm not sure
it's sufficiently general to justify being there. Dave?
--
Martin
These all look fine, but somewhere along the line they got mangled so
that they won't apply properly. Would you mind please sending them to
me as an attachment or something? (Yes, I'm lazy ;-)
--
Martin
#x27;m not sure.
--
Martin
x27;ve been looking at improving flist and hlink performance, and the
intrusive nature of the batch code does not help.
--
Martin
I think we should make rsync say something like this when -v is
specified:
rsync: Attempting connection using "ssh -v samba.org rsync --server"
or
rsync: Attempting connection to samba.org:873 (12.3.23.32) via proxy gw1:80
(10.61.1.1)
--
Martin
e
"TO CONTAINS rsync@ OR CC CONTAINS rsync@".
Please yourself.
--
Martin
On 24 Jan 2002, Nitin Agarwal <[EMAIL PROTECTED]> wrote:
> Dear Mr. Martin,
> I am dead sure that none of the process was running which was creating files on
> that file system. Further, our process are not creating any files having last
> extension as "0003". Kindly
g the
machine's IP address rather than its hostname.
--
Martin
On 25 Jan 2002, Nitin Agarwal <[EMAIL PROTECTED]> wrote:
> Dear Mr. Martin,
> Thanks for the reply.
> We tried as per your advice. Now, its not showing us any errors.
>
> But, we observed that while copying the files from the main server to the backup
> machine, rsync is
Thankyou dann for the patch, and Colin for reminding me. Well done.
This is in CVS and will be in 2.5.2.
--
Martin
This option will be in the rsync distribution from 2.5.2 onwards.
Thankyou,
--
Martin
On 25 Jan 2002, "Martin A. Brown" <[EMAIL PROTECTED]> wrote:
> Can anybody here shed any light for me on whether or not the --server
> option is here to stay?
Yes it is.
I guess it would be OK to have a manual section that says they're for
internal use only.
--
Martin
On 30 Jan 2002, Wayne Davison <[EMAIL PROTECTED]> wrote:
> On Wed, 30 Jan 2002, Dave Dykstra wrote:
> > Martin has put in the below feature in rsync 2.5.2 for using a shell. I've
> > already had one user complain about it. I think it would be better at the
> > -
1 - 100 of 691 matches
Mail list logo