From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Re: xen 4.0 testing - not check if disk is already in use by other domU on start Date: Fri, 20 May 2011 11:04:16 -0400 Message-ID: <20110520150416.GA10691@dumpdata.com> References: <1305814070130-4409805.post@n5.nabble.com> <20110519161941.GB12940@dumpdata.com> <1305877573084-4411978.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1305877573084-4411978.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Fantu Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.