All of lore.kernel.org
 help / color / mirror / Atom feed
* xen 4.0 testing - not check if disk is already in use by other domU on start
@ 2011-05-19 14:07 Fantu
  2011-05-19 16:19 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: Fantu @ 2011-05-19 14:07 UTC (permalink / raw)
  To: xen-devel

I have xen 4.0-testing changeset: 21484 on testing system, if i start 2 domU
with different name but some file disk (with tap2:aio) start also the second
domU and disk have heavy problem, check of "if in use disk" missed? domU
start with xm create (i not try xl)

--
View this message in context: http://xen.1045712.n5.nabble.com/xen-4-0-testing-not-check-if-disk-is-already-in-use-by-other-domU-on-start-tp4409805p4409805.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xen 4.0 testing - not check if disk is already in use by other domU on start
  2011-05-19 14:07 xen 4.0 testing - not check if disk is already in use by other domU on start Fantu
@ 2011-05-19 16:19 ` Konrad Rzeszutek Wilk
  2011-05-20  7:46   ` Fantu
  0 siblings, 1 reply; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-05-19 16:19 UTC (permalink / raw)
  To: Fantu; +Cc: xen-devel

On Thu, May 19, 2011 at 07:07:50AM -0700, Fantu wrote:
> I have xen 4.0-testing changeset: 21484 on testing system, if i start 2 domU
> with different name but some file disk (with tap2:aio) start also the second
> domU and disk have heavy problem, check of "if in use disk" missed? domU
> start with xm create (i not try xl)

What if you have a cluster filesystem on both disks and it is OK
to share the disk?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xen 4.0 testing - not check if disk is already in use by other domU on start
  2011-05-19 16:19 ` Konrad Rzeszutek Wilk
@ 2011-05-20  7:46   ` Fantu
  2011-05-20 15:04     ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 4+ messages in thread
From: Fantu @ 2011-05-20  7:46 UTC (permalink / raw)
  To: xen-devel

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?

--
View this message in context: http://xen.1045712.n5.nabble.com/xen-4-0-testing-not-check-if-disk-is-already-in-use-by-other-domU-on-start-tp4409805p4411978.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: xen 4.0 testing - not check if disk is already in use by other domU on start
  2011-05-20  7:46   ` Fantu
@ 2011-05-20 15:04     ` Konrad Rzeszutek Wilk
  0 siblings, 0 replies; 4+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-05-20 15:04 UTC (permalink / raw)
  To: Fantu; +Cc: xen-devel

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-20 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 14:07 xen 4.0 testing - not check if disk is already in use by other domU on start Fantu
2011-05-19 16:19 ` Konrad Rzeszutek Wilk
2011-05-20  7:46   ` Fantu
2011-05-20 15:04     ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.