LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-15-2007, 03:06 PM   #1
beammeup
LQ Newbie
 
Registered: Mar 2005
Location: Worcester, MA
Distribution: RHEL 3, 4, 5, CentOS 5.x
Posts: 15

Rep: Reputation: 0
Problem getting NFS mount to work between 2 RHEL servers


Hi,

I am attempting to mount an NFS Share from a RHEL 4.0 server to another RHEL 4.0 server. They are both update 4. I do not have a firewall running on either server nor do I have IP tables. When I issue the mount command i get these results.

[root@lxpf1ora ~]# mount -v lxdv1mis:/oracle10 /mnt
mount: no type was given - I'll assume nfs because of the colon
mount: trying 10.17.3.194 prog 100003 vers 3 prot tcp port 2049
mount: trying 10.17.3.194 prog 100005 vers 3 prot udp port 729

THere are no entries in the /var/log/messages file.

Hosts.allow has this line in it on the NFS Source server:

ALL:lxpf1ora.allmerica.com

lxpf1ora is the name of the server I'm trying to mount the nfs share on.

The server i'm attempting to mount on just hangs after issuing the mount command.

Here are the specific nfs rpm's installed

nfs-utils-1.0.6-70.EL4
nfs-utils-lib-1.0.6-3
system-config-nfs-1.2.8-1

Has anyone seen this and fixed it?
 
Old 02-15-2007, 04:49 PM   #2
fukawi2
Member
 
Registered: Oct 2006
Location: Melbourne, Australia
Distribution: ArchLinux, ArchServer, Fedora, CentOS
Posts: 448

Rep: Reputation: 34
Just to be a bit abstract - are they on the same network segment? If not, there may be a firewall between the 2 boxes...?
 
Old 02-15-2007, 05:23 PM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Code:
cat /etc/exports
Code:
ps aux | grep nfs
Code:
mount -t nfs lxdv1mis:/oracle10 /mnt

Last edited by Micro420; 02-15-2007 at 05:25 PM.
 
Old 02-16-2007, 08:26 AM   #4
beammeup
LQ Newbie
 
Registered: Mar 2005
Location: Worcester, MA
Distribution: RHEL 3, 4, 5, CentOS 5.x
Posts: 15

Original Poster
Rep: Reputation: 0
Added Info

from /etc/exports:
/oracle10 *(ro,insecure,sync,no_root_squash)

from ps

[root@lxdv1mis ~]# ps aux | grep nfs
root 20044 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 20045 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 20046 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 20048 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 20049 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 20050 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 20051 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 20047 0.0 0.0 0 0 ? S Feb15 0:00 [nfsd]
root 4459 0.0 0.0 51076 696 pts/3 S+ 09:22 0:00 grep nfs

Even specifying the filesystem type results with the same unresponsive state.

fukawi2 they are on the same network segment and I have made sure that the firewall in RHEL 4 is disabled.

Thanks
 
Old 02-16-2007, 07:35 PM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Can you post the results of running this command on the client?

rpcinfo -p <ip_adress_of_linux_server_that_is_exporting_nfs_shares>

-twantrd
 
Old 02-19-2007, 12:56 PM   #6
beammeup
LQ Newbie
 
Registered: Mar 2005
Location: Worcester, MA
Distribution: RHEL 3, 4, 5, CentOS 5.x
Posts: 15

Original Poster
Rep: Reputation: 0
rpcinfo information

here are the results of the command. I used the dns name from the client as opposed to the ip address.

[root@lxpf1ora ~]# rpcinfo -p lxdv1mis
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 819 status
100024 1 tcp 822 status
100011 1 udp 716 rquotad
100011 2 udp 716 rquotad
100011 1 tcp 719 rquotad
100011 2 tcp 719 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 41204 nlockmgr
100021 3 udp 41204 nlockmgr
100021 4 udp 41204 nlockmgr
100021 1 tcp 33818 nlockmgr
100021 3 tcp 33818 nlockmgr
100021 4 tcp 33818 nlockmgr
100005 1 udp 732 mountd
100005 1 tcp 735 mountd
100005 2 udp 732 mountd
100005 2 tcp 735 mountd
100005 3 udp 732 mountd
100005 3 tcp 735 mountd
 
Old 02-20-2007, 07:12 PM   #7
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
Ok, portmap is running on the server. Is portmap running on the client that is trying to connect to the share?

-twantrd
 
Old 02-21-2007, 09:34 AM   #8
beammeup
LQ Newbie
 
Registered: Mar 2005
Location: Worcester, MA
Distribution: RHEL 3, 4, 5, CentOS 5.x
Posts: 15

Original Poster
Rep: Reputation: 0
nfs and veritas volumes

It seems that there's an issue between nfs and volumes/disk groups created with veritas that have a minor number greater than 255.

I got this information from RedHat support. There is a command vxdg reminor that has some switches etc that will change the minor number so nfs can handle it.

thanks for all your help guys.
 
  


Reply

Tags
nfs, redhat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 8 09-22-2006 03:34 AM
NFS Mount Problem sroyc Red Hat 2 08-12-2005 12:29 AM
Nfs Mount Problem ]Trix[ Linux - Networking 2 12-19-2004 07:57 AM
NFS Mount problem frank2 Linux - Networking 10 05-07-2004 05:01 AM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration