Subject: Re: diskless(8) vs. NetBSD
To: None <current-users@NetBSD.ORG>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: current-users
Date: 11/20/1997 10:16:14
Thus spake Greg A. Woods
> My most pressing bug is not knowing what's going on here:
> 
> Nov 19 15:26:26 sometimes rpc.bootparamd: whoami got question for 204.92.254.3
> Nov 19 15:26:26 sometimes rpc.bootparamd: This is host very.weird.com
> Nov 19 15:26:26 sometimes rpc.bootparamd: Returning very.weird.com   weird.com    204.92.254.6
> Nov 19 15:26:27 sometimes rpc.bootparamd: getfile got question for "very.weird.com" and file "root"
> Nov 19 15:26:27 sometimes rpc.bootparamd: returning server:sometimes path:/export/root/very address: 204.92.254.6
> Nov 19 15:26:27 sometimes rpc.bootparamd: getfile got question for "very.weird.com" and file "gateway"
> Nov 19 15:26:27 sometimes rpc.bootparamd: getfile failed for very.weird.com
> 
> The last two lines repeat seven more times and cause the client machine
> to complain "nfs_boot: timeout...".  It works, but it's definitely not
> clean or fast.

FWIW, I get the same thing diskless booting a HP300 system using -current
on the server and the 1.3_ALPHA hp300 snapshot.

> In the end I booted with this in /etc/bootparams
> 
> very.weird.com root=sometimes:/export/root/very swap=sometimes:/export/swap/very gateway=204.92.254.2

Here's mine.

rapture root=druid.net:/usr/local/nfsclient/rapture

Pretty simple.  I have the swap file in the root partition (perms 600) and
it works fine.  I'm pretty sure I don't get this problem 9 times.  Perhaps
that's because I only need to nfsmount once rather than once for the root
and again for the swap.  It might make it a little faster anyway.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.