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

Re: [Xen-users] Problems with Xen HVM image on DRBD filesystem

To: jai lamerton <jai@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Problems with Xen HVM image on DRBD filesystem
From: Igor Chubin <igor@xxxxxxx>
Date: Thu, 7 Jun 2007 11:04:26 +0300
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jun 2007 01:02:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <EE4BD8AB-4142-49C2-B6DF-64D6B2B79D10@xxxxxxxxxxxxxx>
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>
References: <EE4BD8AB-4142-49C2-B6DF-64D6B2B79D10@xxxxxxxxxxxxxx>
Reply-to: Igor Chubin <igor@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mo, Jun 04, 2007 at 02:07:15 +1000, jai lamerton wrote:
> Hi,
> 
> I have been trying to create a xen HVM Centos4.4 image on centos 5  
> with a DRBD filesystem installing from DVD. However I get an IO error  
> on the filesystem during the centos installation process which then  
> aborts.
> 
> The DRBD filesystem seem to be setup correctly and is functioning as  
> a block device as I can mkfs -t ext3 /dev/drbd1 read and write  
> without error.
> If I replace the disk config to the raw partition like  disk =  
> [ 'phy:/dev/sda2,hda,w', 'phy:/dev/hdc,hdc:cdrom,r', ] no problems  
> installs without a hitch.
> 
> My xen config is:
> import os, re
> arch = os.uname()[4]
> if re.search('64', arch):
>     arch_libdir = 'lib64'
> else:
>     arch_libdir = 'lib'
> name = "centos"
> builder = "hvm"
> memory = "1024"
> disk = [ 'phy:/dev/drbd1,hda,w', 'phy:/dev/hdc,hdc:cdrom,r', ]
> vif = [ 'type=ioemu, mac=00:16:3e:36:41:01, bridge=xenbr0', ]
> uuid = "77af2763-8a95-6800-1e8a-d6b2bbc4912f"
> device_model = "/usr/lib64/xen/bin/qemu-dm"
> kernel = "/usr/lib/xen/boot/hvmloader"
> vnc=1
> vncunused=1
> apic=1
> acpi=1
> pae=1
> vcpus=2
> serial = "pty" # enable serial console
> on_reboot   = 'restart'
> on_crash    = 'restart'
> boot = 'd'
> 
> Am I barking up the wrong tree or have I misconfigured something? Any  
> help would be appreciated.

Hello, 

if you haven't solved your problem yet, 


please take a look at file /proc/drbd in the domain 0
when you'll get IO-error message in the HVM domain.

> Thanks,
> Jai
> 
> 
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
WBR, i.m.chubin


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

<Prev in Thread] Current Thread [Next in Thread>