|
|
Glenn Forney wrote:
> I saw some notes that NFSv4 supports TCP transport for NSF. When you
> install RHE4 I saw an option for SeLinux (which I didn't select) but
not
> NSF/TCP. I have mix of Linux cluster nodes running RH7.3, RH9.0 and
now
> RHE4 (hardware bought in different years). All nodes are now NFSing
> each other now. Maybe NFSv4 is at least indirectly related. Things
> started working after I added the following lines to my
/etc/hosts.allow
> file
>
> mountd : 192.168.1.0/255.255.255.0
> mountd : 129.6.160.0/255.255.255.0
>
> which suggests that the NSF client is seeing something different now
> when accessing file systems on RHE4 servers (ie mountd rather than
the
> portmap?)
>
> Glenn
>
> prg wrote:
> > Glenn Forney wrote:
> >
> >>Glenn Forney wrote:
> >>
> >>>I'm having problems mounting file systems exported from a red hat
> >>>enterprise 4 system. should I be defining entries in
> >
> > /etc/exports
> >
> >>>differently? any help or suggestions will be appreciated.
> >>>glenn
> >>>
> >>
> >>fyi: I found my problem. Apparently, security is implemented
> >>differently in RHE4. (Can anyone elaborate on what is different in
> >
> > RHE4
> >
> >>that forced me to do modify my hosts.allow file?)
> >>
> >>I was using /etc/hosts.allow to restrict access. I needed to add
> >>entries for mountd to hosts.allow as in:
> >>
> >>mountd : 192.168.1.0/255.255.255.0
> >>
> >>to allow nfs access from other systems.
> >
> >
> > Well, you've still not provided much info on your
setup/installation;)
> >
> > When you first posted I suspected 2 things:
> > -- NFSv4
> > -- SELinux
> >
> > Sounds like it _might_ be NFSv4 related, but I'm not sure as I've
not
> > yet installed RHEL4 (or FC3), have no idea how you might have set
up
> > your installation (or just what the current defaults are), etc.
> >
> > Presents lots of possibilities. Eg.,:
> >
> >
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/sysadmin-guide/s1-nfs-mount.html
> > [q]
> > 14.2.3. Using TCP
> > The default transport protocol for NFSv4 is TCP; however, the Red
Hat
> > Enterprise Linux 4 kernel includes support for NFS over UDP. To use
NFS
> > over UDP, include the -o udp option to mount when mounting the
> > NFS-exported file system on the client system.
> >
> > There are three ways to configure an NFS file system export. ...
> > [eq]
> >
> >
www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/s1-nfs-server-export.html">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/ref-guide/s1-nfs-server-export.html
> > [q]
> > 9.3.2.1. Using exportfs with NFSv4
> > Since NFSv4 no longer utilizes the rpc.mountd protocol as was used
in
> > NFSv2 and NFSv3, the mounting of file systems has changed.
> > [eq]
> >
> > SELinux targeted policy has many ramifications (re: NFS?):
> >
www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/
> >
www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/rhlcommon-section-0019.html">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/rhlcommon-section-0019.html
> >
> > So, what do you think? Which might it be -- if any?
> >
> > regards,
> > prg
I _think_ you're on the right track ;)
The manuals aren't really clear on just how NFSv4 interacts with NFSv3
clients be default. More like suggestive, with lot's of space between
the lines for you to fill in the blanks.
Good to hear that you've got it working the way you need it.
Now, if I can just remember this for future reference ;)
regards,
prg
|
|