Date: Tue, 15 Apr 2008 09:39:28 +0200 From: "Claus Guttesen" <kometen@gmail.com> To: nawfal@googlemail.com Cc: freebsd-stable@freebsd.org Subject: Re: NFS and /etc/exports Message-ID: <b41c75520804150039u25f72551g9593258760cd1732@mail.gmail.com> In-Reply-To: <1208219809.12349.30.camel@nawfal-desktop> References: <1208170926.12349.20.camel@nawfal-desktop> <b41c75520804140458t25e7ff1alca795676dbe88d47@mail.gmail.com> <1208219809.12349.30.camel@nawfal-desktop>
next in thread | previous in thread | raw e-mail | index | archive | help
> > Do you have any errors when you reboot related to nfs? > > > > LOL! I forgot to check the console at boot. Been administering all the > machines remotely and you forget to do the most basic thing. *sigh* > > Anyways, yes there was an error when starting mountd. It takes a few > seconds to start but then it failed giving mount[618] error saying it > can't resolve the first host in /etc/exports file. > > I add the first host in /etc/hosts file and reboot but then mountd can't > resolve the second host in the list. So right now I use the machines IP > addresses in /etc/exports file and it works flawlessly. > > Perhaps I need to set mountd to start later in the boot process so that > it can resolve the hostnames in /etc/exports file? I had similar problems a while ago with nfs not mounting but that was related to the spanning-tree-algorithm on our switches which made the first nfs-mount incomplete. So I added this entry to root's crontab: @reboot /sbin/mount -a > Thanks though. Really appreciate your tip! :-) -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b41c75520804150039u25f72551g9593258760cd1732>