rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] librsync: ERROR:


From: Robert Weber
Subject: Re: [rdiff-backup-users] librsync: ERROR:
Date: Wed, 05 Nov 2003 07:22:50 -0700

I looked deeper and this is what I found.  It appears that this error
prevents about .5% of the files being updated.  It happens on solaris and
linux servers and solaris, freebsd, linux clients.  My freebsd server isn't
seeing the errors, but it is lower volume so I can't say that is the
problem.  I mucked with the buf.c code in librsync and all I was able to
determine is that the error itself is coming from the server.  After forced
updates there are still errors on the same files, some make sence(mail
spools) some don't(system files???).  I plan on digging deeper into
librsync today.


--
* Unixops is now supporting Gnu/Linux and FreeBSD. *

2 3 5 7 B D 11 13 17 1D 1F 25 29 2B 2F 35 3B    Robert Weber
3D 43 47 49 4F 53 59 61 65 67 6B 6D 71 7F 83    UnixOps/ITS UCB
89 8B 95 97 9D A3 A7 AD B3 B5 BF C1 C5 C7 D3
DF E3 E5 E9 EF F1 FB ... still searching ...
--------
> 
> On Tue, 04 Nov 2003 09:57:31 -0700
> Robert Weber <address@hidden> wrote:
> > The problem happens on files of all kinds, some have restrictive modes,
> > some don't.  Some are smaller, some are the same size, some are larger.
> > Files like /etc/shadow don't copy.  I have mailed the folks at librsync,
> > but I was able to run rdiff to delta an patch the files without a problem
> > so it may be how rdiff-backup is running rs_file_copy_cb, possibly with a
> > negitive pos value(or a pos value that is not of type off_t or long long).
> > Either way, can we get a switch in rdiff-backup that will just rcp the file
> > in this case?  My entire mirror(>4Tb) is useless now because of these
> > errors, and I am looking into doing the scp's by hand as a stop-gap.  This
> > problem may be elsewhere, but it appears to be a problem with solaris
> > clients.
> 
> rdiff-backup doesn't call rs_file_copy_cb, it passes it to
> rs_patch_begin in the same way rdiff's whole.c does.  So I'm not sure
> why rdiff would work and rdiff-backup wouldn't.
> 
> Also I just checked the librsync mailing list, and it seems maybe
> autoconf got your Solaris builds wrong with librsync?
> 
> I don't think it would be all that hard to add a --whole-file option
> to rdiff-backup though, so it just makes .snapshots and doesn't use
> librsync.  If you can't fix librsync, I will try to add this in the
> next few days.  Keep me updated.
> 
> 
> -- 
> Ben Escoto
> 
> --=.6Wq(8LZ7sVyc/2
> Content-Type: application/pgp-signature
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
> 
> iD8DBQE/qJC1+owuOvknOnURAuypAJ4laDSAfJx1f0IxD8J28i5mfWeq+gCeI3Eg
> jHimyu4lxHGzOoqjYQ2jIzE=
> =0Okn
> -----END PGP SIGNATURE-----
> 
> --=.6Wq(8LZ7sVyc/2--
> 
> 
> 
> --===============0484860355==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> rdiff-backup-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/rdiff-backup-users
> 
> --===============0484860355==--
> 
> 

--------

----------
Status: by weberr Wed Nov  5 07:16:23 2003
----------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]