[Tfug] rsync question
Nate
nate at torzo.com
Fri Apr 4 13:51:45 CDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ahh.. then you have a genuine head scratcher. Yay for rsync! =P
Nate
John Gruenenfelder wrote:
> On Thu, Apr 03, 2008 at 10:03:24AM -0700, Nate wrote:
>
> Hi Nate,
>
>> I see this quite often because rsync has 2 distinct phases. The first
>> phase is the filesystem traversal. It's where it gathers information on
>> what files are on the local and remote sides. Then the next phase is
>> the sync'ing part to make the remote look like the local or vise versa
>> depending on how you're using it. So I see this error when a file gets
>> deleted between the time that it did phase one and phase two. It says
>> the file should be there, but it isn't. So it's basically a race
>> condition. If you run rsync again, it shouldn't output the same error
>> if it's what I'm thinking it is. I could be completely off, though..
>
> You're close. I get this error on occasion too, for precisely the reasons you
> mention. /var is included in the snapshot process so every now and then there
> will be files in Exim's outgoing spool which are quite transient.
>
> However, rsync signals this issue with a different message saying that file X
> has disappeared.
>
> For these particular link_stat errors, the file/link path involved is the same
> every time.
>
>> rsync can be a complicated beast with devils in all the details.
>
> Indeed it is...
>
>
- --
Nate
System Admin Manager
System Administration
Ext 220
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH9njARMRYK1K/wKQRAkWtAJ4n3NqxFqt2v0SBj69g8LnY+0YUDACcDy2Q
PY2ih5CEIW2tezeAp9ZTQ7s=
=mr+0
-----END PGP SIGNATURE-----
More information about the tfug
mailing list