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

Emre Erenoglu
Wed, 03 Sep 2008 11:33:59 -0000

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@burns.me.uk> wrote:

> 2008/9/3 James Corteciano <linux@gascortrading.com>:
>
> > 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@lists.xensource.com
> http://lists.xensource.com/xen-users
>



--
Emre