|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Block devices stuck in dead domain?
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
|
|
|
|
|