|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Shutdown of dom0 with running DomUs cannot deactivate vo
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
--
Todd Deshane
http://todddeshane.net
http://runningxen.com
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|