All of lore.kernel.org
 help / color / mirror / Atom feed
* maximum size of a block device in a domU
@ 2008-07-21 10:48 Sebastian Reitenbach
  2008-07-21 10:54 ` Samuel Thibault
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Reitenbach @ 2008-07-21 10:48 UTC (permalink / raw)
  To: xen-devel

Hi,


I'm looking for an answer to my question that I have since days, but not 
found an answer yet. 
I am looking for the maximum size a block device, like a harddisk can have?
AFAIK, on vmware, there is a limit at 2TB for block devices of being usable?
I was already asking on the users list, and searched the archives, but did 
not found a sufficient answer yet, therefore I hope one of the developer 
will let me know.
Thanks.

kind regards
Sebastian

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

* Re: maximum size of a block device in a domU
  2008-07-21 10:48 maximum size of a block device in a domU Sebastian Reitenbach
@ 2008-07-21 10:54 ` Samuel Thibault
  0 siblings, 0 replies; 7+ messages in thread
From: Samuel Thibault @ 2008-07-21 10:54 UTC (permalink / raw)
  To: Sebastian Reitenbach; +Cc: xen-devel

Sebastian Reitenbach, le Mon 21 Jul 2008 12:48:51 +0200, a écrit :
> I'm looking for an answer to my question that I have since days, but not 
> found an answer yet. 
> I am looking for the maximum size a block device, like a harddisk can have?
> AFAIK, on vmware, there is a limit at 2TB for block devices of being usable?
> I was already asking on the users list, and searched the archives, but did 
> not found a sufficient answer yet, therefore I hope one of the developer 
> will let me know.

For HVM domU, since qemu supports lba48, the maximum should be 2^57B
there, not tested though :) The actual limit is then the size that dom0
itself can cope with.

For PV domU, the PV interface is 64bit, so theorically 2^73B...  Then
it's up to limitations of dom0 and domU themselves.

Samuel

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

* Re: maximum size of a block device in a domU
@ 2008-07-21 11:30 Sebastian Reitenbach
  2008-07-22  5:18 ` Jayaraman, Bhaskar
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Reitenbach @ 2008-07-21 11:30 UTC (permalink / raw)
  To: samuel.thibault; +Cc: xen-devel

Hi Samuel,

Samuel Thibault <samuel.thibault@eu.citrix.com> wrote:
> Sebastian Reitenbach, le Mon 21 Jul 2008 12:48:51 +0200, a écrit :
> > I'm looking for an answer to my question that I have since days, but not
> > found an answer yet.
> > I am looking for the maximum size a block device, like a harddisk can
have?
> > AFAIK, on vmware, there is a limit at 2TB for block devices of being
usable?
> > I was already asking on the users list, and searched the archives, but
did
> > not found a sufficient answer yet, therefore I hope one of the developer
> > will let me know.
>
> For HVM domU, since qemu supports lba48, the maximum should be 2^57B
> there, not tested though :) The actual limit is then the size that dom0
> itself can cope with.
>
> For PV domU, the PV interface is 64bit, so theorically 2^73B...  Then
> it's up to limitations of dom0 and domU themselves.

Thanks a lot for the fast and informative answer.

Sebastian

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

* RE: maximum size of a block device in a domU
  2008-07-21 11:30 Sebastian Reitenbach
@ 2008-07-22  5:18 ` Jayaraman, Bhaskar
  2008-07-22  9:29   ` Samuel Thibault
  0 siblings, 1 reply; 7+ messages in thread
From: Jayaraman, Bhaskar @ 2008-07-22  5:18 UTC (permalink / raw)
  To: Sebastian Reitenbach, samuel.thibault@eu.citrix.com
  Cc: xen-devel@lists.xensource.com

Hi, if I were using Xen 3.2.1 and above and if I were to direct assign a block device to a HVM guest will I still play by the rules mentioned below for maximum size of the device?
Regards,
Bhaskar.

-----Original Message-----
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Sebastian Reitenbach
Sent: Monday, July 21, 2008 5:00 PM
To: samuel.thibault@eu.citrix.com
Cc: xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] maximum size of a block device in a domU

Hi Samuel,

Samuel Thibault <samuel.thibault@eu.citrix.com> wrote:
> Sebastian Reitenbach, le Mon 21 Jul 2008 12:48:51 +0200, a écrit :
> > I'm looking for an answer to my question that I have since days, but not
> > found an answer yet.
> > I am looking for the maximum size a block device, like a harddisk can
have?
> > AFAIK, on vmware, there is a limit at 2TB for block devices of being
usable?
> > I was already asking on the users list, and searched the archives, but
did
> > not found a sufficient answer yet, therefore I hope one of the developer
> > will let me know.
>
> For HVM domU, since qemu supports lba48, the maximum should be 2^57B
> there, not tested though :) The actual limit is then the size that dom0
> itself can cope with.
>
> For PV domU, the PV interface is 64bit, so theorically 2^73B...  Then
> it's up to limitations of dom0 and domU themselves.

Thanks a lot for the fast and informative answer.

Sebastian


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

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

* Re: maximum size of a block device in a domU
  2008-07-22  5:18 ` Jayaraman, Bhaskar
@ 2008-07-22  9:29   ` Samuel Thibault
  2008-07-22 12:14     ` Jayaraman, Bhaskar
  0 siblings, 1 reply; 7+ messages in thread
From: Samuel Thibault @ 2008-07-22  9:29 UTC (permalink / raw)
  To: Jayaraman, Bhaskar; +Cc: Sebastian Reitenbach, xen-devel@lists.xensource.com

Jayaraman, Bhaskar, le Tue 22 Jul 2008 13:18:23 +0800, a écrit :
> Hi, if I were using Xen 3.2.1 and above and if I were to direct assign a block device to a HVM guest will I still play by the rules mentioned below for maximum size of the device?

If by "direct assign" you mean setting disk = [ 'phy:sda4,hda,w' ] in
the config file, then yes you are still going through the IDE emulation,
limited to 2^48 sectors, i.e. 2^57B, plus the dom0 limitations (and the
HVM domU limitations of course).

Samuel

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

* RE: maximum size of a block device in a domU
  2008-07-22  9:29   ` Samuel Thibault
@ 2008-07-22 12:14     ` Jayaraman, Bhaskar
  2008-07-22 13:09       ` Samuel Thibault
  0 siblings, 1 reply; 7+ messages in thread
From: Jayaraman, Bhaskar @ 2008-07-22 12:14 UTC (permalink / raw)
  To: Samuel Thibault; +Cc: Sebastian Reitenbach, xen-devel@lists.xensource.com

Samuel, I was actually referring to the equivalent of dedicating a PCI HBA to a paravirtualized guest(using pciback) in an HVM guest. I believe this is possible with VT-d hardware and with the Xen 3.2.1 kernel for an HVM as well, although I haven't been able to do this myself yet to an HVM. In any case 2^57 is large enough for any domain to keep going for some time, with h/w dedicated or not.
Regards,
Bhaskar.

-----Original Message-----
From: Samuel Thibault [mailto:samuel.thibault@eu.citrix.com]
Sent: Tuesday, July 22, 2008 2:59 PM
To: Jayaraman, Bhaskar
Cc: Sebastian Reitenbach; xen-devel@lists.xensource.com
Subject: Re: [Xen-devel] maximum size of a block device in a domU

Jayaraman, Bhaskar, le Tue 22 Jul 2008 13:18:23 +0800, a écrit :
> Hi, if I were using Xen 3.2.1 and above and if I were to direct assign a block device to a HVM guest will I still play by the rules mentioned below for maximum size of the device?

If by "direct assign" you mean setting disk = [ 'phy:sda4,hda,w' ] in
the config file, then yes you are still going through the IDE emulation,
limited to 2^48 sectors, i.e. 2^57B, plus the dom0 limitations (and the
HVM domU limitations of course).

Samuel

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

* Re: maximum size of a block device in a domU
  2008-07-22 12:14     ` Jayaraman, Bhaskar
@ 2008-07-22 13:09       ` Samuel Thibault
  0 siblings, 0 replies; 7+ messages in thread
From: Samuel Thibault @ 2008-07-22 13:09 UTC (permalink / raw)
  To: Jayaraman, Bhaskar; +Cc: Sebastian Reitenbach, xen-devel@lists.xensource.com

Jayaraman, Bhaskar, le Tue 22 Jul 2008 20:14:01 +0800, a écrit :
> I was actually referring to the equivalent of dedicating a PCI HBA to a paravirtualized guest(using pciback) in an HVM guest.

Ok, then there shouldn't be any limit.

Samuel

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

end of thread, other threads:[~2008-07-22 13:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-21 10:48 maximum size of a block device in a domU Sebastian Reitenbach
2008-07-21 10:54 ` Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2008-07-21 11:30 Sebastian Reitenbach
2008-07-22  5:18 ` Jayaraman, Bhaskar
2008-07-22  9:29   ` Samuel Thibault
2008-07-22 12:14     ` Jayaraman, Bhaskar
2008-07-22 13:09       ` Samuel Thibault

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.