<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Versions:<br>
fai 4.1<br>
dracut ? (where can I find this out?)<br>
<br>
I think I remember the problem now:<br>
Last year, when I set up the new wheezy-FAI-server, I first set
"NFSROOT=/srv/fai/nfsroot" in nfsroot.conf (as in the
"make_fai_nfs_root.conf" file in my old fai 3.4.7 server) .<br>
<br>
However, tftp/dracut then tried to mount the nfsroot from the
dhcp-server :-( (not on the same machine...*)<br>
<br>
I just tried a test installation with NFSROOT=/srv/fai/nfsroot and
indeed the installation stops with<br>
<small>"mount.nfs: access denied by server while mounting
130.92.143.225:/srv/fai/nfsroot"</small><br>
<br>
Indeed, 130.92.143.225 is the dhcp-server machine, and in the syslog
of this machine I find<br>
<small>Apr 25 13:10:57 kuppacific rpc.mountd[1658]: refused
mount request from kuphalmahera.unibe.ch for /srv/fai/nfsroot (/):
no export entry</small><br>
<br>
(kuphalmahera.unibe.ch is the host to install)<br>
<br>
If I put "NFSROOT=phkup26:/srv/fai/nfsroot" it worked until ~one
month ago, but now I had to put<br>
"NFSROOT=nfs:phkup26:/srv/fai/nfsroot" into nfsroot.conf to get it
to work again.<br>
<br>
PS: If I'm right, fai-chboot just takes the NFSROOT variable from
nfsroot.conf to create the nfsroot kernel
command line parameter entry<br>
(I invoke it with /usr/sbin/fai-chboot -IFv -u
nfs://phkup26/srv/fai/config <hostname>)<br>
<br>
Regards<br>
René<br>
<br>
<br>
* Since years I have a dhcp-server for our network on a special
machine. In the dhcpd.conf I just declared a special "group" for the
FAI-hosts:<br>
<small>-------<br>
group {<br>
server-name "kuppacific.unibe.ch";<br>
next-server phkup26;<br>
use-host-decl-names on;<br>
filename "fai/pxelinux.0";<br>
...</small><br>
<br>
<big><small>This worked for years with the old FAI-server</small><br>
<br>
<br>
</big>
<div class="moz-cite-prefix">On 04/25/2014 10:57 AM, Thomas Lange
wrote:<br>
</div>
<blockquote
cite="mid:21338.9087.480748.144006@informatik.uni-koeln.de"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">On Fri, 25 Apr 2014 09:13:35 +0200, René Bleisch <a class="moz-txt-link-rfc2396E" href="mailto:accounts@climate.unibe.ch"><accounts@climate.unibe.ch></a> said:
</pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre wrap="">
> It seems that now "nfs" is needed at the begin of the NFSROOT entry in nfsroot.conf, to get dracut to recognize the fai-server
> NFSROOT=nfs:phkup26:/srv/fai/nfsroot (instead of NFSROOT=phkup26:/srv/fai/nfsroot )
Which FAI and dracut version are you using?
I have this in my nfsroot.conf:
NFSROOT=/srv/fai/nfsroot
I'm sure, I never had a host name in this line.
IIRC NFSROOT should not be used for specifying the nfsroot kernel
command line parameter. man dracut.cmdline says: ".. root=/dev/nfs
nfsroot= is deprecated". Now you should use root=.
I have root=123.45.67.8:/srv/fai/nfsroot in my pxelinux.cfg files.
> Was there a change in fai-chboot? (Did former versions eventually add the "nfs:" automatically to the nfsroot when creating the tftp-file?)
Yes, there was a change in FAI 4.1.
</pre>
</blockquote>
</body>
</html>