Re: [vserver] strange rsync problem

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 30 Jul 2007 - 12:36:52 BST
Message-ID: <20070730113652.GI7098@MAIL.13thfloor.at>

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")
Received on Mon Jul 30 12:37:07 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 30 Jul 2007 - 12:37:09 BST by hypermail 2.1.8