From: John Levon Subject: Re: [PATCH] Recover from corrupt tdb on reboot Date: Mon, 5 Nov 2007 20:03:26 +0000 Message-ID: <20071105200326.GF12917@totally.trollied.org.uk> References: <87wsswr3vw.fsf@pike.pond.sub.org> <20071105194319.GE12917@totally.trollied.org.uk> <20071105195659.GB18245@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20071105195659.GB18245@redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Daniel P. Berrange" Cc: xen-devel@lists.xensource.com, Markus Armbruster List-Id: xen-devel@lists.xenproject.org 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