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

Re: [Xen-users] DHCP for NFS root?



You could try reconfiguring the DHCP server...


----- Original Message ----- From: "Jonathan D. Proulx" <jon@xxxxxxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Thursday, September 07, 2006 4:42 PM
Subject: Re: [Xen-users] DHCP for NFS root?


On Wed, Sep 06, 2006 at 12:42:50PM -0400, Jonathan D. Proulx wrote:
:
:I'm trying to get an NFS rooted DomU.  Oddly it hangs forever (atleast
:a week :) waiting for DHCP, it sees answers it thinks are not for it,
:and may not be...
:
:if I remove the dhcp="dhcp" and set root="/dev/sda1" in the config the
:same kernel boots and gets its ip from dhcp just fine, using the same
:vif line (and thus the same MAC).
:
:I'm a bit puzzled by thins, can anyone hazard a guess?

Still puzzled but with more info.

it seems when trying to use an NFS root the system never sends a
DHCPDISCOVER, which it does do when using the user space dhcp aafter
booting from "disk":

Sep 7 10:37:29 foghorn-leghorn dhcpd: DHCPDISCOVER from
aa:00:80:1e:02:89 via eth0

It starts right out with:

Sep  7 10:33:40 foghorn-leghorn dhcpd: DHCPREQUEST for 255.255.255.255
(1.2.3.4) from aa:00:80:1e:02:89 via eth0: ignored (not
authoritative).


Well of course my server isn't giving out anything on that network....


Must be a config issue so here's the whole thing:

---

kernel = "/boot/vmlinuz-2.6.16-xen0"
memory = 3560
name = "il4"
vif = [ 'mac=aa:00:80:1e:2:89, bridge=xenbr0']
disk = [ 'file:/xen/disks/il4-root,sda1,w',
        'file:/xen/disks/il4-swap,sda2,w',
        'file:/xen/disks/il4-openafs,sda3,w', ]
#root = "/dev/sda1 ro"
dhcp="dhcp"
root="/dev/nfs"

---

I must be missing something...

-Jon

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


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