Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 19:35:41 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        jle <jle@baa.ssars.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: NFS weirdness...
Message-ID:  <3EF248CD.6060606@potentialtech.com>
In-Reply-To: <20030619143154.E3677@baa.ssars.net>
References:  <20030619143154.E3677@baa.ssars.net>

next in thread | previous in thread | raw e-mail | index | archive | help
jle wrote:
>>As a diagnostic step:
>>Boot up the system, and then try to manually mount the filesystem with
>>the command 'mount /usr/src'.  If this works ... it pretty much confirms
>>that your /etc/fstab syntax is correct.  If it doesn't work, focus on
>>/etc/fstab as the problem.
> 
> Thanks Bill, but as I said mounting it manually works fine so I doubt it's
> fstab.
> 
>>>><manually mounting works>
>>>>mount NFSD:/home2 /home

This isn't what I told you to do.  This does not access your /etc/fstab at
all and therefore doesn't accomplish what I was trying to help you determine.
Do _this_:
mount /home

With no second parameter, mount will look through /etc/fstab for a mountpoint
that matches /home and use the config in that line if it finds one.  This
tests your /etc/fstab
I don't believe that 'mount NFSD:/home2 /home' forces mount to access the
/etc/fstab file.

> So that also pretty much clears NFSD too /etc/exports works as evidenced
> in showmounts -e <host> and that I can manually mount it from HTTPD. I
> also serve homes via Samba on NFSD, that wouldn't interfere with NFS,
> would it?
> 
> Again, since it's buried, here are my exports and fstab.
> 
> on NFSD:
> /home2           -maproot=0 -alldirs     httpd
> 
> on HTTPD:
> NFSD:/home2              /home           nfs     rw,bg           0       0
> 
> Since it mounts manually but not automatically on reboot, I'm still stuck.



-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF248CD.6060606>