WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Problem with larger (250GB) bootable virtual disk image.

To: "Xen Users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Problem with larger (250GB) bootable virtual disk image.
From: Derek <xen@xxxxxxxxxxxxxxxx>
Date: Sat, 27 Oct 2007 16:42:36 -0600
Delivery-date: Sat, 27 Oct 2007 15:43:26 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=jgBnAUCc31EtVbwdp9etc3I46xNMbOoJ1BjixWgFbJ8=; b=TkKAPkOFcNIAlA8+I6ihhjsAgk5BRv5xVCCvrChT4fuAv9GkxFs5ObYnc801BFd6G0dWjqVxx9Mzt9rlRX5QA3tPkz50Sz8yc8YXadwGH+5BNT851qHFtufnPduTnJRFP1fzAJrzyChJx5aXDyxqp1WXSiKHshhBiuFXXhvp9/k=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=Vrw4OBrKihK97szcLcYzD+ECsQ/WymM0NRdOWT6+C4xNFKBw7BNa7QTC0ApXNUt6h0i+OeXR/ZiAwQEfcPOG1zP+ppRMeFr7XO+RgAU8kezuk6mqb0wJAy3S9+qcIFQm34cx0leqtalwiGGni/QZ8GQdGCpiwCdBtQgCRm67Vds=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

Don't know if this is a known problem, but I didn't find anything about it with a quick google.  I'm using Xen 3.1.0.

I have found that if I try to create a large virtual device and boot from it within an HVM domU, I can't get it to work.  The size I was trying to use was 250GB, with most of the space (about 240GB) allocated to a bootable WindowsXP NTFS partition.  The failure mode was for the domU to crash and die with no messages other than a few lines of BIOS hardware discovery.

The way I made the filesystem image was:
  lvcreate -L250G d4600_disk main
  dd if=/dev/sdi of=/dev/main/d4600_disk  (Where /dev/sdi is the device file for the 250GB disk that used to be the boot disk on the bare-metal machine before I installed XEN).

I happend to notice that within the DomU SDL window, just before it dies, the BIOS reports the disk size as -6G (MINUS 6 Gig) rather than the expected 250G.   This message comes from the BIOS of the LVM partition, just before it says it's trying to boot the OS.  This sounds like a problem with signed/unsigned interpretation of the value 250GB.  So, on a hunch, I used gparted to resize the NTFS filesystem, and the entire disk image, to smaller than 128GB.  I chose 72GB.  After lvresizing /dev/main/d4600_disk, I was able to successfully boot windows.

Now, I know that HVM virtual disks of comparable size _do_ normally work, I use them all the time.  I suspect that what is going wrong is that the BIOS used by the DomU for initial boot has some bug or limitation that prevents it from booting from larger disk sizes. 

Does anybody know of such a limitation or bug in the BIOS?  Or has anybody else been able to boot an HVM from a virtual disk of around 250GB, with the bootable partition taking up most of the disk?

Thanks,
Derek.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>