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

Re: [Xen-users] Shutdown of dom0 with running DomUs cannot deactivate volume group



I put

on_xend_stop = "shutdown"

in my domU config files without any result. I still get the error message that lvm volumes are used and cannot be shutdown. Does setting on_xend_stop = "shutdown" wait until all domUs are shutdown, or does the normal shutdown process go on in parallel.

Todd Deshane wrote:
On Mon, Oct 20, 2008 at 6:12 AM, Martin Lang <mlg-hessigheim@xxxxxx> wrote:
Hi all,

I have a little server with some Debian DomUs that are automatically started
at system boot. Each DomU uses LVM Volumes for root and swap area. When I
now shutdown the whole machine using the shutdown -h command in the dom0 I
always get an error message that LVM cannot be shutdown properly because
there are still some active volumes. These are the volumes used by the
domUs. When I manually shutdown the domUs using xm shutdown, I do not get
the error message.

My question now is: is there something similar to the autostart of domUs for
shutdown? Do I have to write a special script that calls "xm shutdown -a w"?
If yes where do I have to place it.


You should be able to use the domU config option:
on_xend_stop

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®.