NFS weirdness...
Bill Moran
wmoran at potentialtech.com
Thu Jun 19 16:35:43 PDT 2003
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
More information about the freebsd-current
mailing list