Networking Forums

Networking Forums > Computer Networking > Linux Networking > problems with rhe4 & nfs

Reply
Thread Tools Display Modes

problems with rhe4 & nfs

 
 
Glenn Forney
Guest
Posts: n/a

 
      05-02-2005, 12:39 AM
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

--
Glenn Forney
National Institute of Standards and Technology
100 Bureau Drive, Stop 8663
Gaithersburg MD 20899-8663

Telephone: (301) 975 2313
FAX: (301) 975 4052

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
 
 
 
Ulf Volmer
Guest
Posts: n/a

 
      05-02-2005, 04:45 PM
Glenn Forney <(E-Mail Removed)> schrieb:
> 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.


That's an very good problem description.

cu
ulf


--
Ulf Volmer
(E-Mail Removed)
www.u-v.de
 
Reply With Quote
 
Glenn Forney
Guest
Posts: n/a

 
      05-02-2005, 05:25 PM
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.
glenn

--
Glenn Forney
National Institute of Standards and Technology
100 Bureau Drive, Stop 8663
Gaithersburg MD 20899-8663

Telephone: (301) 975 2313
FAX: (301) 975 4052

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
prg
Guest
Posts: n/a

 
      05-02-2005, 05:51 PM

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/e...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]

http://www.redhat.com/docs/manuals/e...er-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?):
http://www.redhat.com/docs/manuals/e...selinux-guide/
http://www.redhat.com/docs/manuals/e...tion-0019.html

So, what do you think? Which might it be -- if any?

regards,
prg

 
Reply With Quote
 
Glenn Forney
Guest
Posts: n/a

 
      05-03-2005, 11:18 AM
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/e...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]
>
> http://www.redhat.com/docs/manuals/e...er-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?):
> http://www.redhat.com/docs/manuals/e...selinux-guide/
> http://www.redhat.com/docs/manuals/e...tion-0019.html
>
> So, what do you think? Which might it be -- if any?
>
> regards,
> prg
>


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
prg
Guest
Posts: n/a

 
      05-03-2005, 03:09 PM

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/e...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]
> >
> >

http://www.redhat.com/docs/manuals/e...er-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?):
> >

http://www.redhat.com/docs/manuals/e...selinux-guide/
> >

http://www.redhat.com/docs/manuals/e...tion-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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems staying connected to server 2003 over XP + Acquiring Network Adress display problems wolverinegod Windows Networking 1 10-18-2006 01:32 PM
Printer problems continue. Was: Printer problems. What am I doin wrong. David Lawson Wireless Internet 3 01-12-2005 11:38 PM
I think I have networking problems, that is causing GPO problems Dave Marden Windows Networking 0 02-05-2004 11:12 PM



1 2 3 4 5 6 7 8 9 10 11