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

Andy Burns
Wed, 03 Sep 2008 10:37:46 -0000

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?