Re: nfs mounting (118 Views)
Reply
Super Advisor
himacs
Posts: 611
Registered: ‎01-27-2009
Message 1 of 2 (135 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

 

Regards

himacs

Please use plain text.
HP Pro
pradeep m
Posts: 154
Registered: ‎12-08-2010
Message 2 of 2 (118 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 :


MOUNTD_PORT=15002 

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. 

 

Regards,
Pradeep

I am an HP Employee
Please use plain text.
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