WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Recover from corrupt tdb on reboot

To: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Recover from corrupt tdb on reboot
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Mon, 5 Nov 2007 19:56:59 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Markus Armbruster <armbru@xxxxxxxxxx>
Delivery-date: Mon, 05 Nov 2007 11:57:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071105194319.GE12917@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <87wsswr3vw.fsf@xxxxxxxxxxxxxxxxx> <20071105194319.GE12917@xxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, Nov 05, 2007 at 07:43:19PM +0000, John Levon wrote:
> On Mon, Nov 05, 2007 at 06:36:19PM +0100, Markus Armbruster wrote:
> 
> > Xen cannot work when xenstored's tdb is corrupt.  When that happens
> > somehow (and we've seen it happen), even reboot doesn't recover from
> > it.  It could: there is no state in tdb that needs to be persisted
> > across reboots.
> 
> We're putting the tdb in a tmpfs (in the short-term), is there a reason
> you can't do that too? Especially as it's way faster.

That's exactly what we're doing in Fedora 9, but this patch was really
for the benefit of any existing deployment who might not want to change
their setup for TDB storage. If we want to switch xen-unstable to use
tmpfs by default, then this patch would likely be unnecessary....

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel