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

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

To: mlg-hessigheim@xxxxxx
Subject: Re: [Xen-users] Shutdown of dom0 with running DomUs cannot deactivate volume group
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Fri, 24 Oct 2008 11:26:24 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Oct 2008 08:27:05 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xg8+cBur4Q4m3H/HBuKJiHLIFUTh4AeP59DS+zpGb0o=; b=rPxxSISjtJgheJSJfPPE/j+fIoEx2zNI2bnj2XdJIFhUwDiC3loaKlM2wAruzTfYFA uMm6fd3Cwp/8Ge3Xt/99cfdh1lgjFKAxVyibFizf1/2L/ot8M23zUajeZTww+6MU61LA hACOzQbkEi1LqWdbkvOSd2Z/kqNgeo+2iPpIY=
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:content-transfer-encoding :content-disposition:references; b=JzwsA7IZOzJBHahxpQGVaeWAg1y6wVMrmSj1OPWNcfspbij4K/hxkkTSIHPgO0RMpH N+b7bpz6RYVha9HSsCBQZzbQ9JKSDs1BVAmXsw0V+Efy81bAqa/FxL4PeFBdQXPffiQ0 Q/Jxtd5gxZjWmwgLsu8FdtvNsFisiir5WXKZc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4901E44A.8080405@xxxxxx>
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>
References: <48FC5989.6030509@xxxxxx> <1e16a9ed0810201659j1a0ede09x196bd2e7a51f7e1b@xxxxxxxxxxxxxx> <4901E44A.8080405@xxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Oct 24, 2008 at 11:05 AM, Martin Lang <mlg-hessigheim@xxxxxx> wrote:
> 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.

You just need to make sure that the xend script is finished before the
script that
is stopping the LVM volumes. Once you know the lvm script, you could put a
while loop in that script that watches for a xend process, and once xend is
down, then it should be fine to bring down the LVs. Does that make sense?

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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