All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robin Bowes <robin-lists@robinbowes.com>
To: xen-devel@lists.xensource.com
Subject: Getting xen to recognise large disks
Date: Mon, 20 Nov 2006 22:40:33 +0000	[thread overview]
Message-ID: <ejtat2$qs2$1@sea.gmane.org> (raw)

Hi,

I've got a large ext3 file system, created on the Dom0 host, that I'd
like to make available to a domU guest.

The filesystem is built like this:

 - 8x500GB SATA drives combined as /dev/md2 (RAID6)
 - /dev/md2 designated an LVM PV
 - Volume Group vg_media created using /dev/md2
 - Logical Volume lv_media created in vg_media
 - ext3 filesystem created on lv_media


I'm using the following disk config in my xen config file:

disk = [ 'phy:vg_host/lv_slim,xvda,w',
         'phy:vg_media/lv_media,xvdb,w', ]


However, /dev/xvdb is not appearing as the correct size in the DomU guest:

>From /proc/partitions:

major minor  #blocks  name
 202    16  782819328 xvdb

When I look at the same partition in the host, I see this:
major minor  #blocks  name
   9     2 2930303616 md2

There appears to be a problem in passing the size of the device to the
DomU guest.

Can anyone shed any light on this?

Thanks,

R.

             reply	other threads:[~2006-11-20 22:40 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-20 22:40 Robin Bowes [this message]
2006-11-20 23:31 ` Getting xen to recognise large disks Ian Pratt
2006-11-21  1:01   ` Robin Bowes
2006-11-21  1:41     ` Robin Bowes
2006-11-21  1:47       ` Ian Pratt
2006-11-21  1:51       ` Daniel P. Berrange
2006-11-21  2:13         ` Robin Bowes
2006-11-21  7:46           ` Keir Fraser
2006-11-21 11:21             ` Robin Bowes
2006-11-21 11:34               ` Keir Fraser
2006-11-21 11:53                 ` Robin Bowes
2006-11-21 11:58                   ` Keir Fraser
2006-11-21 12:04                     ` Robin Bowes
2006-11-21 12:36                       ` Daniel P. Berrange
2006-11-21 12:14                     ` Xen 3.0.3 Kernel 2.6.18 Claes Lindblom
2006-11-21 12:25                       ` Atsushi SAKAI
2006-11-21 21:11                 ` Re: Getting xen to recognise large disks Daniel P. Berrange
2006-11-21 22:41                   ` Daniel P. Berrange
2006-11-22 10:42                     ` Robin Bowes
2006-11-28 21:52                     ` Daniel P. Berrange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ejtat2$qs2$1@sea.gmane.org' \
    --to=robin-lists@robinbowes.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.