[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Block devices stuck in dead domain?


  • To: "John Hannfield" <hal9020@xxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Tue, 10 Jun 2008 18:06:49 -0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 10 Jun 2008 15:07:24 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:references; b=cuHMAG1T4InbdXiEayOpBmWr+GQZPk/8ovGBkjDXqzEiCrJCr4FT/K/jLu+11lLs3G IpsaudK4lE51vCaGNrEhIlldgsWDNZuSuBhWFfIRLb6fJxpNMxTJ6TarTOl71pAlOG/y OvkEg6L6tqD+eVLw9C25MsoV0a+bJEXlDVJUY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Tue, Jun 10, 2008 at 5:58 PM, John Hannfield <hal9020@xxxxxxxxx> wrote:
Hi Todd,

Thanks for the ideas.

> did you try xm destroy <guest VM that crashed> ?

Yes, I did that, but wasn't sure it was destroyed, as  'xm list' - it
just hangs.
But I assumed the domain was destroyed.

> If that doesn't work you may be able to use xm block-detach
> or if that doesn't work, you could try to remove the entry from xenstore
> manually.

Do you know how to remove the entry from xenstore?
I had a look in /var/run/xenstored/   but couldn't really make
sense of anything there. Is there a guide to xenstore somewhere,
or any other tips on learning about it?

xenstore uses a backend tree database (tdb).

There are xenstore-* commands used to access it (see below).

This is a pretty good reference:
http://wiki.xensource.com/xenwiki/XenStoreReference

here are the commands that are available:

xenstore-chmod    xenstore-exists   xenstore-read    
xenstore-control  xenstore-list     xenstore-rm      
xenstored         xenstore-ls       xenstore-write

I suspect that it should be something like find the domain ID and getting rid of the vbd entry.

xm list hanging is not a good sign though.

Let us know if you run into problems in your efforts.

Cheers,
Todd
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.