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: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Recover from corrupt tdb on reboot
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Mon, 5 Nov 2007 20:03:26 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Markus Armbruster <armbru@xxxxxxxxxx>
Delivery-date: Mon, 05 Nov 2007 12:04:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071105195659.GB18245@xxxxxxxxxx>
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> <20071105195659.GB18245@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Mon, Nov 05, 2007 at 07:56:59PM +0000, Daniel P. Berrange 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....

Keir, others? Given that xenstored restartability is quite some way off?

regards
john

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