From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robin Bowes Subject: Getting xen to recognise large disks Date: Mon, 20 Nov 2006 22:40:33 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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.