[Csync2] Weird error on some files being synced

Clifford Wolf clifford at clifford.at
Tue Jan 10 13:13:04 CET 2006


Hi,

On Mon, Jan 09, 2006 at 03:19:03PM -0600, Stephan Guilford wrote:
> Help I'm getting a weird error on some files when I sync. This only
> happens on some of the files. I thought it might be permission errors,
> but when I looked @ the log some files in the same directory where
> being synced just fine.
>
> Updating /var/lib/texmf/ls-R on e-linweb01.e-web.local ...
> While syncing file /var/lib/texmf/ls-R:
> ERROR from peer e-linweb01.e-web.local: File is also marked dirty here!
> File stays in dirty state. Try again later...

That error message means that the file has been modified on both hosts and
csync2 now does not know which version is the correct one.

Is is possible that you auto-generate this ls-R files on both hosts? That
would explain why it has been modified on both nodes.

See sections 1.1.1 and 5.2 in the manual for more details on conflict
detection and resolving conflicts:

	http://oss.linbit.com/csync2/paper.pdf

yours,
 - clifford

-- 
bash -c "gcc -o mysdldemo -Wall -O2 -lSDL -lm -pthread -x c <( echo -e '
#include <SDL/SDL.h>\n#include <complex.h>\nint main(){SDL_Surface*s;SDL_Event
e;int x,y,n;SDL_Init(SDL_INIT_VIDEO);s=SDL_SetVideoMode(640,480,32,0);for(x=0;
x<640;x++)for(y=0;y<480;y++){float _Complex z=0, c=((x-400)/200.0) + ((y-240)/
200.0)*1.0fi;for(n=1;n<64;n++){z=z*z+c;if(cabsf(z)>2){((Uint32*)s->pixels)[x+y
*640]=n<<3;n=99;}}}SDL_UpdateRect(s,0,0,s->w,s->h);do SDL_WaitEvent(&e); while
(e.type!=SDL_QUIT&&e.type!=SDL_KEYDOWN);SDL_Quit();return 0;}' ); ./mysdldemo"
 
Press CTRL-ALT-DEL now for an IQ test.
 


More information about the Csync2 mailing list