[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] cent os domu creation problem


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.