Showing results for 
Search instead for 
Did you mean: 

nfs mounting

Super Advisor

nfs mounting

Hi Admins,


I want to nfs mount from hpux 11.31 solaris. Configuration done ,but  mounting is failing in solaris . Log file show solaris not able to connect source server. I think ports are not open in firewall.


Please guide me which ports should to be opened in firewall level  .


And i think i need to modify /etc/default/nfs with port details.


Please suggest


Server : HPUX 11.31




pradeep m
Respected Contributor

Re: nfs mounting

HP-UX 11.31 allows you to specify a port number for the nfs services by adding a variable to the /etc/default/nfs file. This may be helpful for configuring NFS and you need to know what ports to open to allow traffic through a firewall or other packet filtering device. rpc.mountd , rpc.statd and rpc.lockd are the most common ones you would configure for HP-UX 11.31 NFS V2 or V3.


The following is an example of the syntax for specifying a port for rpc.mountd :


After the nfs services are started, you should see the following:

# rpcinfo -p | grep mountd 
    100005    1   udp  15002  mountd 
    100005    1   tcp  15002  mountd 
    100005    2   udp  15002  mountd 
    100005    2   tcp  15002  mountd 
    100005    3   udp  15002  mountd 
    100005    3   tcp  15002  mountd



Notice that by default, and as long as the port numbers have not been assigned in the /etc/default/nfs file, the port numbers will continue to be allocated at random. 



I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details