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-devel

Re: [Xen-devel] Re: xen 4.0 testing - not check if disk is already in us

To: Fantu <fantonifabio@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: xen 4.0 testing - not check if disk is already in use by other domU on start
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Fri, 20 May 2011 11:04:16 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 20 May 2011 08:07:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1305877573084-4411978.post@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1305814070130-4409805.post@xxxxxxxxxxxxx> <20110519161941.GB12940@xxxxxxxxxxxx> <1305877573084-4411978.post@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Fri, May 20, 2011 at 12:46:13AM -0700, Fantu wrote:
> Maybe i have posted the question in the wrong way.
> For example i have
> 
> squeeze1.cfg
> ------------
> name = "squeeze1"
> ...
> disk  = ['tap2:aio:/mnt/vm/disks/squeeze1.disk1.xm,xvda1,w',
> 'tap2:aio:/mnt/vm/disks/squeeze1.disk2.xm,xvda2,w']
> ------------
> 
> 
> squeeze2.cfg
> ------------
> name = "squeeze2"
> ...
> disk  = ['tap2:aio:/mnt/vm/disks/squeeze1.disk1.xm,xvda1,w',
> 'tap2:aio:/mnt/vm/disks/squeeze1.disk2.xm,xvda2,w']
> ------------
> 
> in squeeze2.cfg i forgot to change disk name from squeeze1 to squeeze2, and
> then started the 2 domUs:
> xm create squeeze1.cfg
> xm create squeeze2.cfg
> 
> domU squeeze2 starts even if squeeze1 domU was already active and running on
> the same disk file, logically i think that is wrong that there is no check,
> maybe I'm wrong?

Think of clusters of guests - where they share the same disk.

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

<Prev in Thread] Current Thread [Next in Thread>