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] cent os domu creation problem

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] cent os domu creation problem
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Mon, 17 May 2010 21:28:07 +0530
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 May 2010 09:03:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0/Ku+mEE9NPQOkz4nxaRA/9js5lSgk/5iJLPoZPm5yU=; b=onzBGgYhh8yOStFXfKQ9ujpyjCcY6RZcoDfQAsUF7p2eFAsSNtv4Z6qOMoJ4Y5NgpB cT4Fr56SSKym0QdGsjo0Mw2nbmWwcD3hqzDC80xFk0h+eTJBXgqCnat6SAz7mbcwHSwp RIXpNPGd8H26KkrePBh1eSHNibDwJhbAYGA+Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=sDZwIeNduuOX6l8g8CDa9KwGNanHhTRcIzQQEXK8sT9gIw1r3ysVekuv2XjRI9WaqW oaU7a4IhFxCzggqwHiIygY0D0fxLpuDvS9Pxp/vtOf+7YxBRyyFsIvtH4Mb21twQC32H 8xd57fhnHqPDwVxvKHYoK8lrkH3Y/DIPFM+hs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik83dLZPiC05mWuTexu5XYEyrmgN_BAWyzvsISD@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTin7wCBHYUgtTLkZ5pVgulxpVO7inK68p-kc4Huz@xxxxxxxxxxxxxx> <AANLkTinzXvBLdLgWo9Z8HbHwFDmC4-rQ7da0p-ZRDWlz@xxxxxxxxxxxxxx> <AANLkTikaWQAxiPM5nWNKd7gCIlGu1qQ4pC9xKs7QGx_g@xxxxxxxxxxxxxx> <AANLkTik83dLZPiC05mWuTexu5XYEyrmgN_BAWyzvsISD@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, May 17, 2010 at 8:45 PM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Mon, May 17, 2010 at 10:01 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>> Thanks for pointing that out.I am using LVM based Image.I have Debian
>> images running as DomU .Which are running fine.
>> xm list shows
>> Name                                        ID   Mem VCPUs      State   
>> Time(s)
>> Domain-0                                     0   875     8     r-----     
>> 67.0
>> Domu1                                       3  2048     1     -b----     18.1
>
> I'd start by comparing their config files. Can you paste domu1's config file?
http://pastebin.com/gZT0icUs

>>> While there are ways to map dom0 LVs as domU partition, that's not the
>>> way to do it. Not by following that tutorial and simply change the
>>> disk.
> Short version, if you follow the Centos tutorial (possibly by changing
> bridge name or whatever settings specific to your system)
brctl show gives following output
/etc/xen# brctl show
bridge name     bridge id               STP enabled     interfaces
eth2            8000.0026b9824238       no              peth2
                                                        vif1.0
                                                        vif2.0
                                                        vif3.0

> and map the
> disks as xvda,
I could not understand this part.
Can you give some link to or clue to what you are saying.
>you should get a working centos domU the equivalent of
> installing-from-HVM-and-convert-to-PV, but with less steps. That is,
> you'd get one disk (xvda) with partition table on it.
What does xvda refer to where can I get more information about it.
I did a fdisk -l
# fdisk -l

Disk /dev/xvda1: 4294 MB, 4294967296 bytes
255 heads, 63 sectors/track, 522 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/xvda1 doesn't contain a valid partition table

Disk /dev/xvda2: 103.0 GB, 103079215104 bytes
255 heads, 63 sectors/track, 12532 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/xvda2 doesn't contain a valid partition table

> If you want to have a domU that doesn't use partition on domU side
> (i.e. directly maps the disk as xvda1), you can't use Centos
> installer. Some manual process is necessary.
What is that manual process some where can I read it.

> Your problem of "hotplug not working", however, should be unrelated to
> mapping xvda vs xvda1. I'd start by comparing the config files.
> Perhaps the bridge is incorrect?
Here is /etc/xen/xend-config.sxp
http://pastebin.com/MwfAXerv


-- 
Tapas

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