Operating System - HP-UX
1834626 Members
3019 Online
110069 Solutions
New Discussion

nfs mount , RPC: time out

 
xuhz
New Member

nfs mount , RPC: time out

hi
I have a hpux 11i system running NFS server,and nfs client is redhat as 3.
there is a firewall between server and client. The thing is ,when i use the default nfs policy in firewall for the linux system, the client report:
mount RPC: time out
when i remove the firewall , it works just fine.
So,i want to know ,on HPUX, NFS server works with three daemons running nfsd,portmap,mountd
is these three daemons running with(bind to) static port or ramdom port everytime NFS servie restart.
nfsd -port 2049
portmap -port 111
mountd port ?(this port , i am not sure)
if it's ramdom port , is there a range?

thanks.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: nfs mount , RPC: time out

Shalom,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=646982

Note that HP-UX 11v2 and Linux permits you to limit the portmap range which is not available to 11.11

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
xuhz
New Member

Re: nfs mount , RPC: time out

http://www2.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHNE_34662

( SR:8606391790 CR:JAGaf51922 )
The rpc.lockd, rpc.statd, and rpc.mountd daemons use random
ports for transport connections. This makes it difficult to
configure firewalls which require specific port numbers to
be used.

Resolution:
An interface is provided for assigning port numbers for the
rpc.lockd, rpc.statd, and rpc.mountd daemons. To assign port
numbers, add the following variables to the end of the
/etc/rc.config.d/nfsconf file:
LOCKD_PORT=
STATD_PORT=
MOUNTD_PORT=


my hpux version is 11.11,can i add the "MOUNTD_PORT" in /etc/rc.config.d/nfsconf file with PHNE_34662 installed?
Peter Nikitka
Honored Contributor

Re: nfs mount , RPC: time out

Hi,

I would use the most common version of the NFS patch (PHNE_35871) and give it a try.

If you want to create a backup of /etc/rc.config.d/nfsconf, put it to a different directory or use a hidden file like /etc/rc.config.d/.nfsconf

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
IT Response
Esteemed Contributor

Re: nfs mount , RPC: time out

Hi,

The later NFS patches for 11.11 and 11.23 add a feature to choose static port numbers for mountd, statd, and lockd. It's a simple addtion to the /etc/rc.config.d/nfsconf file like this, for example:

LOCKD_PORT=4045
STATD_PORT=4047
MOUNTD_PORT=4049


See Doc ID emr_na-c00914327-1.
Marco A.
Esteemed Contributor

Re: nfs mount , RPC: time out

Hello, HP RESPONSE CENTER ...
This is a open forum in which not only HP Employees can post questions and answers, you need to post here information accesible to everybody, and also, create your own account.

Thanks.

Marc'0...
Just unplug and plug in again ....