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] how to create /dev/xvda

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to create /dev/xvda
From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
Date: Wed, 3 Sep 2008 13:33:59 +0200
Delivery-date: Wed, 03 Sep 2008 04:34:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=aXM6X7Y0R/2XA+VVxSYLmdlaOw0oMvta0zUPn0C4530=; b=gHrCTk0iLyNUw893lkVatG4B+kJScgYvx+B5dXrDQWpNiEhpLOQtk+X3wHGOhp/UAr 4fZ5rTiq5zcVV/UMjLF99rA9O+KJg9VyjF/ZNlZesnwV5HMY1cZxpphC0DC9GBOG7Iwi xUKp9YFVW8tJoCC+6firp5sn0dBg6ISMJkPEU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=monGblz8E1qTaNIW1d9C/XqmTpbn+s2dO0Uy6/ZvZ5esi2XypYSjOwoOAvYfswlf6l NK2rcATsxEBiEzCeJQcoB4T+UCHS9lsKodgH9OKN58pLPnK02U5Ykq3/Okt92imUM+1D 0mQVaOwTcFEl1RgvJp7GGBB5puJ6+88UWA/T0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <b4057d410809030337u6889319fr281a3390d3579768@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: <3dc9c8bb0809030305lff61aabne63e5117fe77089f@xxxxxxxxxxxxxx> <b4057d410809030337u6889319fr281a3390d3579768@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

To use xvd* devices, you need to modprobe xen related paravirtual modules (unmodified_drivers) inside your DomU. Then your xvda devices will appear.

In my distribution (Pardus 2008), these drivers are called:xenblk xenfb gntdev xennet xenkbd

To use them, you modprobe them when the system is up, or if you want to use them as your root disk, then you need to create an initramfs with these modules inside.

Best Regards,

Emre

On Wed, Sep 3, 2008 at 12:37 PM, Andy Burns <xen.lists@xxxxxxxxxxx> wrote:
2008/9/3 James Corteciano <linux@xxxxxxxxxxxxxxxxx>:

> kernel = '/usr/local/src/xen/vmlinuz'
> ramdisk = '/usr/local/src/xen/initrd.img'
> disk = [ 'phy:/dev/server/cbox,xvda,w' ]
>
> I had checked the /dev/xvda and no such file or directory found. I've google
> around and found out using the command "mknod /dev/xvda b 220 0" so after
> that I try to give run the domU and everything went fine.

You mean you created /dev/xvda on the dom0? If so, you don't need to
do that, on the other hand it needs to exist inside the domU,
presumably it's a hard-coded device in /dev from the initrd rather
than udev created (it'd be to late), I've never had to check.

> I am following this howto link
> <http://www.hostinggeek.com/2008/04/installing-centos-5-as-domu-with-debian.html>.

I wonder why it mixes its xvd* and sd* devices?

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



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