Date: Mon, 2 Apr 2012 12:28:05 +0300 From: Beeblebrox <zaphod@berentweb.com> To: freebsd-fs@freebsd.org Subject: Diskless client mount NFS-root error Message-ID: <CAPSTskuGwKOBs9zvLtxvf_tvasaBkAWYVkeQsvcEgskfKBjvWg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Client boots fine and gets to mounting root from NFS, but then stops with: "Mounting root filesystem rw failed, startup aborted" and drops to single-user mode. *loader.conf* for the client is below, Some optioons caused more trouble than solutions, so were commented out. 1. boot.nfsroot.server="192.168.2.1" 2. boot.nfsroot.path="/data/amd64" 3 .vfs.root.mountfrom="nfs:192.168.2.1:/data/amd64" 4. #vfs.root.mountfrom="nfs" 5. #boot.nfsroot.options="nolockd" 6 .#vfs.root.mountfrom.options="ro" Now the fun part is, with a dirty-little hack I was able to get diskless to work and NOT break boot: I commented out [stop_boot true] in diskless/etc/rc.d/root. Although at the time this was satisfactory, I would noow like to solve this the "propper way" if possible. */etc/exports*: /data/amd64 -ro -maproot=0 -network 192.168.2.0/24 Thanks for your input
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPSTskuGwKOBs9zvLtxvf_tvasaBkAWYVkeQsvcEgskfKBjvWg>