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

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



Hi Emre,

Sorry for the late response.

How could I modprobe xen inside the DomU? I knew to do it in dom0 only.

Thanks.
James

On Wed, Sep 3, 2008 at 7:33 PM, Emre Erenoglu <erenoglu@xxxxxxxxx> wrote:
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



--
Linux Registered User #380364

_______________________________________________
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®.