WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Shutdown of dom0 with running DomUs cannot deactivate volume group
From: Martin Lang <mlg-hessigheim@xxxxxx>
Date: Mon, 20 Oct 2008 12:12:25 +0200
Delivery-date: Mon, 20 Oct 2008 03:10:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: mlg-hessigheim@xxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.17 (X11/20080925)
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.


Regards

   Martin

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