nfs mounting (219 Views)
Super Advisor
Posts: 611
Registered: ‎01-27-2009
Message 1 of 2 (219 Views)

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




HP Pro
Posts: 158
Registered: ‎12-08-2010
Message 2 of 2 (202 Views)

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

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.