Subject: Re: [vserver] strange rsync problem
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 30 Jul 2007 13:36:52 +0200

On Fri, Jul 20, 2007 at 12:07:55AM +0200, Guenther Fuchs wrote:
> Hi there,
> 
> I've got a very strange problem on rsyncing guests from one to another
> server: After rsync process the rpm database seems to be broken,
> although everything else runs. When rsyncing back, everything is okay
> again.
> 
> Used process:
> .) vserver $1 stop
> .) rsync -avxe ssh --numeric-ids --delete /etc/vservers/$1/ ${REM}:/etc/vservers/$1/
> .) rsync -avxe ssh --numeric-ids --delete --progress /vsr/$1/ ${REM}:/vsr/$1/
> .) on ${REM} host: vserver $1 start
> 
> After this the system is proper running on the other host - but the
> rpm DB (internalized) brings up on rpm -qva:
> | error: db4 error(-30987) from dbcursor->c_get: DB_PAGE_NOTFOUND: Requested page
not found
> 
> When using the process to sync back everything is fine again - which
> is more than strange to me ...
> 
> Anyone got any idea?

the rpm database is 'internalized' and not 'externalized',
right? and if not, you _did_ rsync that archive too?

just an idea,
Herbert

> 
> -- 
> regards 'n greez,
> 
> Guenther Fuchs
> (aka "muh" and "powerfox")