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: Tapas Mishra <mightydreams@xxxxxxxxx>
Subject: Re: [Xen-users] cent os domu creation problem
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 17 May 2010 21:46:05 +0700
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 May 2010 07:47:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin7wCBHYUgtTLkZ5pVgulxpVO7inK68p-kc4Huz@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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, May 17, 2010 at 7:40 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
> I am creating a CentOS DomU on Debian lenny.
> I am following this guide.
> http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

No you don't.

> disk        = [
>                  'phy:/dev/virtualization/centos5-swap,xvda1,w',
>                  'phy:/dev/virtualization/centos5-disk,xvda2,w',
>              ]

> Is this .cfg file wrong.

Yes.
When following a tutorial, best stick with it all the way, changing
something only after you're sure what it does.

Note how the tutorial maps the disk as xvda, instead of xvda1? They do
that for a reason.
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.

>
> Any help would be appreciated.
> I am getting some error as Hotplug script not working.
> How should I proceed ?

This is actually a different problem altogether.
It could be anything from a broken installation, udevd dead, wrong
bridge name, and so on. I'd start by making sure you have a working
system first, and that you can create a working domU (any kind will
do). After that, /var/log/messages, /var/log/daemon.log, and
/var/log/xen/xend.log usually give some more info as to what went
wrong.

-- 
Fajar

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