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

James Corteciano
Wed, 03 Sep 2008 10:05:08 -0000

Hi All,

The following is my domU''s cfg file.

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel = ''/usr/local/src/xen/vmlinuz''
ramdisk = ''/usr/local/src/xen/initrd.img''
memory = ''256''
name = ''centos5.2''
vif0 = [ ''bridge=xenbr1'' ]
disk = [ ''phy:/dev/server/cbox,xvda,w'' ]
on_reboot = ''destroy''
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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.

My only problem is during CentOS installation, the domU disk drive is unable
to find or any devices of the type needed for the installation type. BTW, I
forgot to tell you my dom0 is Debian and domU is CentOS. I am following this
howto link <
http://www.hostinggeek.com/2008/04/installing-centos-5-as-domu-with-debian.html
>.

Does anyone explain why it appears like this? It seems like the domU''s
disk
is not detected in CentOS installation.

Thanks in advanced.

Cheers,
James