All of lore.kernel.org
 help / color / mirror / Atom feed
* iscsi and HVM
@ 2011-08-18  4:12 James Harper
  2011-08-19  0:36 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 5+ messages in thread
From: James Harper @ 2011-08-18  4:12 UTC (permalink / raw)
  To: xen-devel

If I use a block-iscsi script to handle the connection of an iscsi
volume, I can use the iscsi: prefix in my config file. Qemu doesn't like
this though, even though it's just a plain raw block device. Is there
something I can do in the config to persuade qemu to be happy or do I
need to modify the source?

Thanks

James

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

* Re: iscsi and HVM
  2011-08-18  4:12 iscsi and HVM James Harper
@ 2011-08-19  0:36 ` Konrad Rzeszutek Wilk
  2011-08-19  2:01   ` James Harper
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-08-19  0:36 UTC (permalink / raw)
  To: James Harper; +Cc: xen-devel

On Thu, Aug 18, 2011 at 02:12:59PM +1000, James Harper wrote:
> If I use a block-iscsi script to handle the connection of an iscsi

What script is that?
> volume, I can use the iscsi: prefix in my config file. Qemu doesn't like
> this though, even though it's just a plain raw block device. Is there
> something I can do in the config to persuade qemu to be happy or do I
> need to modify the source?
> 
> Thanks
> 
> James
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

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

* RE: iscsi and HVM
  2011-08-19  0:36 ` Konrad Rzeszutek Wilk
@ 2011-08-19  2:01   ` James Harper
  2011-08-19  4:25     ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 5+ messages in thread
From: James Harper @ 2011-08-19  2:01 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel

> 
> On Thu, Aug 18, 2011 at 02:12:59PM +1000, James Harper wrote:
> > If I use a block-iscsi script to handle the connection of an iscsi
> 
> What script is that?

This one
http://lists.xensource.com/archives/html/xen-devel/2007-11/msg00782.html
or at least very similar (can't find the original URL I copied it from).
I think I had to change the -a's to -b's so it detected if the block
device was already attached.

I have solved (worked around) the problem by modifying the script to
convert the 'iscsi' to 'phy' in xenstore once the block-iscsi script was
done with it.

I think it would be better if there was a separate 'format' for qemu
used was different to the 'type' that the block-* scripts need to use,
even if the block-* scripts had to update it. So 'iscsi' would have a
'format' of raw or phy or whatever it needs, as would 'drbd'.

James

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

* Re: iscsi and HVM
  2011-08-19  2:01   ` James Harper
@ 2011-08-19  4:25     ` Konrad Rzeszutek Wilk
  2011-08-19  4:35       ` James Harper
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-08-19  4:25 UTC (permalink / raw)
  To: James Harper; +Cc: xen-devel

On Fri, Aug 19, 2011 at 12:01:41PM +1000, James Harper wrote:
> > 
> > On Thu, Aug 18, 2011 at 02:12:59PM +1000, James Harper wrote:
> > > If I use a block-iscsi script to handle the connection of an iscsi
> > 
> > What script is that?
> 
> This one
> http://lists.xensource.com/archives/html/xen-devel/2007-11/msg00782.html
> or at least very similar (can't find the original URL I copied it from).
> I think I had to change the -a's to -b's so it detected if the block
> device was already attached.
> 
> I have solved (worked around) the problem by modifying the script to
> convert the 'iscsi' to 'phy' in xenstore once the block-iscsi script was
> done with it.

Ah, never did that. Looks like you would need to write the support in
'xl' to actually look for those types of non-common backends and execute them.

> 
> I think it would be better if there was a separate 'format' for qemu
> used was different to the 'type' that the block-* scripts need to use,
> even if the block-* scripts had to update it. So 'iscsi' would have a
> 'format' of raw or phy or whatever it needs, as would 'drbd'.
> 
> James
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

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

* RE: iscsi and HVM
  2011-08-19  4:25     ` Konrad Rzeszutek Wilk
@ 2011-08-19  4:35       ` James Harper
  0 siblings, 0 replies; 5+ messages in thread
From: James Harper @ 2011-08-19  4:35 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: xen-devel

> 
> On Fri, Aug 19, 2011 at 12:01:41PM +1000, James Harper wrote:
> > >
> > > On Thu, Aug 18, 2011 at 02:12:59PM +1000, James Harper wrote:
> > > > If I use a block-iscsi script to handle the connection of an
iscsi
> > >
> > > What script is that?
> >
> > This one
> >
http://lists.xensource.com/archives/html/xen-devel/2007-11/msg00782.html
> > or at least very similar (can't find the original URL I copied it
from).
> > I think I had to change the -a's to -b's so it detected if the block
> > device was already attached.
> >
> > I have solved (worked around) the problem by modifying the script to
> > convert the 'iscsi' to 'phy' in xenstore once the block-iscsi script
was
> > done with it.
> 
> Ah, never did that. Looks like you would need to write the support in
> 'xl' to actually look for those types of non-common backends and
execute them.
> 

It's only qemu that has a problem with it.

James

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

end of thread, other threads:[~2011-08-19  4:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-18  4:12 iscsi and HVM James Harper
2011-08-19  0:36 ` Konrad Rzeszutek Wilk
2011-08-19  2:01   ` James Harper
2011-08-19  4:25     ` Konrad Rzeszutek Wilk
2011-08-19  4:35       ` James Harper

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.