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

RES: [Xen-users] NFS root in domU



The last time I did this was with Xen 2, and the default domU kernel didn't
have support for NFS ROOT.

I had to download the source code and recompile the domU kernel enabling it
and a few other options I can't remember. :)

If you fail, let me know and I'll look where did I put the tutorial I once
wrote for this.

Thanks
--
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
 Felipe Franciosi                      +55-51-91230557
 CPAD/HP/PUCRS - Centro de Pesquisa em Alto Desempenho
 http://www.cpad.pucrs.br/          ozzy@xxxxxxxxxxxxx
 Porto Alegre, RS - Brazil
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=


-----Mensagem original-----
De: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] Em nome de Maxim Rozin
Enviada em: quarta-feira, 14 de junho de 2006 10:11
Para: xen-users@xxxxxxxxxxxxxxxxxxx
Assunto: [Xen-users] NFS root in domU

Hi there,

I'm using xen-3.0.2.2-86.1_rhel4.1 on a Redhat AS 4 update 1 for i386.
When I try to create domU with NFS root, I get the following error:
##BEGINNING##
Red Hat nash version 4.2.1.3 starting
Mounted /proc filesystem
Mounting sysfs
Creating /dev
Starting udev
Loading scsi_mod.ko module
scsi_mod: no version for "struct_module" found: kernel tainted.
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading sata_promise.ko module
Loading dm-mod.ko module
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@xxxxxxxxxx
Loading jbd.ko module
Loading ext3.ko module
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!
##END##

My vm conf file looks like this:
##BEGINNING##
kernel = "/boot/vmlinuz-2.6.16-xen3_86.1_rhel4.1"
ramdisk = "/boot/initrd-2.6.16-xen3_86.1_rhel4.1.img"
builder='linux'
memory = 256
name = "nfsvm"
vcpus = 4
vif = [ 'bridge=xenbr0' ]
dhcp="dhcp"
hostname= "nfsvm"
root = '/dev/nfs'
nfs_server = '192.168.1.123'
nfs_root   = '/diskless/i386/RHEL4-AS/root'
extra = "3"
##END##

Please help,
Maxim.


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