NetBSD-Users archive

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

Re: nfs error diskless



On Tue, Nov 13, 2018 at 06:59:32PM +0100, Manuel Bouyer wrote:
> > 
> > It seems that NetBSD won't work when NFS server is reachable
> > via router and work when it is reachable directly (in the
> > same network).
> > 
> > My current setup is: two PV VMs (actually copied), located in 
> > different networks, but connecting to the same NFS server. 
> > NFS server is directly reachable to VM1 and via router for VM2.
> > VMs are copies and both have static dhcp leases in ISC DHCPD.
> > Startup argument is "root=xennet0" for both.
> > 
> > VM1 works perfectly, but VM2 stops at "Starting network" point. 
> 
> error 65 is EHOSTUNREACH (No route to host). So it looks like your client
> lost its default route. You should probably tweak or disable the
> network script.

Yes, VM booted up when I disabled network script typing exit as the 
first line in /etc/rc.d/network. 

However this should not work this way because I beleive DHCP lease 
obtained by kernel will be not renewed without dhcpcd and VM will 
die in a day.

-- 
Sincerely yours,
Dima Veselov
Physics R&D Establishment of Saint-Petersburg University


Home | Main Index | Thread Index | Old Index