Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2009 11:34:29 +0200 (EET)
From:      Mario Pavlov <freebsd@abv.bg>
To:        freebsd-stable@freebsd.org, freebsd-questions@freebsd.org
Subject:   diskless - NFS root mount problem
Message-ID:  <1349537904.141314.1258277669303.JavaMail.apache@mail51.abv.bg>

Next in thread | Raw E-Mail | Index | Archive | Help
 Hi,
I'm trying to setup diskless operation between my FreeBSD desktop (server) and my laptop (client)
I have NFS_ROOT and all other necessary options compiled into my kernel, I have this in /etc/exports:

==========================================================================
/ -ro -maproot=root -alldirs 192.168.0.3
/usr -ro -alldirs 192.168.0.3
==========================================================================

and this in dhcpd.conf

==========================================================================
subnet 192.168.0.0 netmask 255.255.255.0 {
  use-host-decl-names on;
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.0.255;
  option routers 192.168.0.1;

  host laptop {
    hardware ethernet 00:1E:68:45:0D:98;
    fixed-address 192.168.0.3;
    filename "pxeboot";
    option root-path "192.168.0.1:/";
  }
==========================================================================

when I attempt to (diskless) boot the laptop - stage one and two of the boot process are fine...actually stage tree which is the kernel is also fine...the kernel boots and starts bringing the system up...however it's unable to mount the NFS root for some reason and the system freezes here:

==========================================================================
...
...
Trying to mount root from ufs:/dev/ad4s1a
Trying to mount root from nfs:
NFS ROOT: 192.168.0.1:/
nfs send error 13 for server 192.168.0.1:/
bge0: link state changed to DOWN
bge0: link state changed to UP
==========================================================================

I think error 13 means attempt to write on read-only mounted NFS...but it does not make sense, does it?
do you have any ideas what could be the problem?

thanks

-----------------------------------------------------------------
Вижте водещите новини от Vesti.bg!
http://www.vesti.bg



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1349537904.141314.1258277669303.JavaMail.apache>