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

Re: [Xen-users] how to create /dev/xvda


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Emre Erenoglu" <erenoglu@xxxxxxxxx>
  • Date: Wed, 3 Sep 2008 13:33:59 +0200
  • Delivery-date: Wed, 03 Sep 2008 04:34:40 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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