- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS in between HP-UX & Red Hat Linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 05:37 PM
тАО02-18-2007 05:37 PM
Can I mount a hp-ux file systems to red hat linux using NFS?
Please suggest. Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 06:25 PM
тАО02-18-2007 06:25 PM
Re: NFS in between HP-UX & Red Hat Linux
Absolutely.
One possible problem. RH has NFS Version 4 built in. Has for some time.
It should be able to accept the NFS v3 client that ships with HP-UX 11.11 or the NFS v4 client that can be added into HP-UX 11.23
I used to have a mixed environment in my home lab in the US and had no issues at all with NFS mounting.
Linux was totally able to mount any shared nfs filesystem on the HP-9000 boxes which were D classes running 11.11 and NFS v3.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:01 PM
тАО02-18-2007 07:01 PM
Re: NFS in between HP-UX & Red Hat Linux
Yes. Once you have exported the file system on the HP-UX server, you go on the linux server and issue the mount command.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:03 PM
тАО02-18-2007 07:03 PM
Re: NFS in between HP-UX & Red Hat Linux
OS: HP-UX 11.23
from where I can down NFS v4 client for HP-ux and hopw can I install it,
Please suggest
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:09 PM
тАО02-18-2007 07:09 PM
Re: NFS in between HP-UX & Red Hat Linux
Last I saw, it was available on http://software.hp.com.
It may have been integrated into the core OS.
swlist -l product | grep nfs
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:14 PM
тАО02-18-2007 07:14 PM
Re: NFS in between HP-UX & Red Hat Linux
try the mount operations before you attempt to install any additional software.
If you encounter any errors, post them here for us to analyse.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:15 PM
тАО02-18-2007 07:15 PM
Re: NFS in between HP-UX & Red Hat Linux
# swlist -l product | grep nfs
PHKL_32713 1.0 nfs client hang; cache FS umount
is it hang?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:22 PM
тАО02-18-2007 07:22 PM
Re: NFS in between HP-UX & Red Hat Linux
I tried to mount but nothing is happening..
command is just not being completed.
what does it mean:
PHKL_32713 1.0 nfs client hang; cache FS umount
Thanks
Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:32 PM
тАО02-18-2007 07:32 PM
Re: NFS in between HP-UX & Red Hat Linux
PHKL_32713 is a patch that has been installed on your system.
Did you export the file system on the HP-UX before you attempted the mount on the Linux server?
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:36 PM
тАО02-18-2007 07:36 PM
Re: NFS in between HP-UX & Red Hat Linux
can you please provide me the URL?
Thanks
I searched the below URLs:
http://www.webmin.com/standard.html
http://h20293.www2.hp.com/portal/swdepot/searchProducts.do
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2007 07:57 PM
тАО02-18-2007 07:57 PM
Re: NFS in between HP-UX & Red Hat Linux
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1023003
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=997269
I apologize for posting that NFS v4 was supported on 11.23.
HP has promised it will be supported on 11.31.
I would bet a few bucks that at one point I saw an NFS v4 depot on software.hp.com
I apologize for my error.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 01:34 AM
тАО02-19-2007 01:34 AM
Re: NFS in between HP-UX & Red Hat Linux
sothat I can mount its directory to Red Hat Linux system
current package is :
# swlist -l product | grep nfs
PHKL_32713 1.0 nfs client hang; cache FS umount
#
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2007 05:10 AM
тАО02-19-2007 05:10 AM
Re: NFS in between HP-UX & Red Hat Linux
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 01:05 AM
тАО02-20-2007 01:05 AM
Re: NFS in between HP-UX & Red Hat Linux
# swlist -l fileset | grep NFS
# NFS B.11.11 ONC/NFS; Network-File System,Information Services,Utilities
NFS.KEY-CORE B.11.11 KEY-CORE
NFS.NFS-64ALIB B.11.11 NFS-64ALIB
NFS.NFS-64SLIB B.11.11 NFS-64SLIB
NFS.NFS-CLIENT B.11.11 NFS-CLIENT
NFS.NFS-CORE B.11.11 NFS-CORE
NFS.NFS-ENG-A-MAN B.11.11 NFS-ENG-A-MAN
NFS.NFS-JPN-E-MAN B.11.11 NFS-JPN-E-MAN
NFS.NFS-JPN-S-MAN B.11.11 NFS-JPN-S-MAN
NFS.NFS-KRN B.11.11 NFS-KRN
NFS.NFS-PRG B.11.11 NFS-PRG
NFS.NFS-SERVER B.11.11 NFS-SERVER
NFS.NFS-SHLIBS B.11.11 NFS-SHLIBS
NFS.NIS-CLIENT B.11.11 NIS-CLIENT
NFS.NIS-CORE B.11.11 NIS-CORE
NFS.NIS-SERVER B.11.11 NIS-SERVER
NFS.NISPLUS-CORE B.11.11 NISPLUS-CORE
...and a bunch of patches...
You can also check /etc/rc.config.d/nfsconf and see if it's runinng:
# ps -ef | grep -E 'rpc|nfs|automount'
root 2030 2027 0 Feb 17 ? 0:00 /usr/sbin/nfsd 16
root 800 1 0 Feb 17 ? 0:00 /usr/sbin/rpcbind
root 805 0 0 Feb 17 ? 0:00 nfskd
root 872 1 0 Feb 17 ? 0:00 /usr/sbin/rpc.lockd
root 866 1 0 Feb 17 ? 0:00 /usr/sbin/rpc.statd
root 882 1 0 Feb 17 ? 0:14 /usr/lib/netsvc/fs/enh_autofs/automountd
root 1253 1 0 Feb 17 ? 0:11 /opt/dce/sbin/rpcd
root 1253 1 0 Feb 17 ? 0:00 /usr/sbin/rpc.mountd
root 2031 2027 0 Feb 17 ? 0:00 /usr/sbin/nfsd 16
root 2078 0 0 Feb 17 ? 0:08 nfsktcpd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 01:37 AM
тАО02-20-2007 01:37 AM
Re: NFS in between HP-UX & Red Hat Linux
That is good enough to proceed with your original objective.
Nothing further other then patching to be done with the HP-UX box here.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 04:26 AM
тАО02-20-2007 04:26 AM
Re: NFS in between HP-UX & Red Hat Linux
Have you actually tried mounting the filesystem and had a problem or are you just asking if it's possible? If you're just asking - yes, it's possible and works just fine. If you're seeing a problem please tell us what the problem is so we can help isolate it.
By the way, NFSv4 has never been offered for 11.23, ever. It is available on 11i v3 (11.31) but not on 11i v2 (11.23). However, even if your server supports NFSv4, every server I've ever seen will always negotiate the highest available NFS version supported by both the client and server. So if you're using a RedHat server that supports NFSv4 and an HP-UX client that only supports NFSv3 you'll get a V3 mount without incident.
Please tell us if you're actually seeing a problem when mounting between HP-UX and RedHat.
Thanks,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 04:54 AM
тАО02-20-2007 04:54 AM
Re: NFS in between HP-UX & Red Hat Linux
# NFS B.11.23 ONC/NFS; Network-File System,Information Services,Utilities
NFS.KEY-CORE B.11.23 Commands to support secure RPC for NIS and NIS+
NFS.NFS-64SLIB B.11.23 64-bit shared libraries required by NFS-CORE
NFS.NFS-CLIENT B.11.23 Support files for NFS client functionality
NFS.NFS-CORE B.11.23 Support files for the core NFS functionality
NFS.NFS-ENG-A-MAN B.11.23 NFS Manual Pages for HP-UX
NFS.NFS-JPN-E-MAN B.11.23 NFS Manual Pages for HP-UX
NFS.NFS-JPN-S-MAN B.11.23 NFS Manual Pages for HP-UX
NFS.NFS-KRN B.11.23 HP-UX kernel libraries for NFS kernel functionality
NFS.NFS-PRG B.11.23 Support files for developer's kit for ONC/RPC programs
NFS.NFS-SERVER B.11.23 Support files for NFS server functionality
NFS.NFS-SHLIBS B.11.23 NFS Shared Library Fileset
NFS.NFS2-CLIENT B.11.23 Commands for NFS client functionality
NFS.NFS2-CORE B.11.23 Commands for the core NFS functionality
NFS.NFS2-PRG B.11.23 Commands for developer's kit for ONC/RPC programs
NFS.NFS2-SERVER B.11.23 Commands for NFS server functionality
NFS.NIS-CLIENT B.11.23 Support files for NIS client functionality
NFS.NIS-CORE B.11.23 Support files for the core NIS functionality
NFS.NIS-SERVER B.11.23 Support files for NIS server functionality
NFS.NIS2-CLIENT B.11.23 Commands for NIS client functionality
NFS.NIS2-CORE B.11.23 Commands for the core NIS functionality
NFS.NIS2-SERVER B.11.23 Commands for NIS server functionality
NFS.NISPLUS-CORE B.11.23 Support files for the core NIS+ functionality
NFS.NISPLUS2-CORE B.11.23 Commands for the core NIS+ functionality
# PHCO_31645 1.0 Japanese NFS/LIBNSL manpages
PHCO_31645.NFS-JPN-E-MAN 1.0 NFS.NFS-JPN-E-MAN
PHCO_31645.NFS-JPN-S-MAN 1.0 NFS.NFS-JPN-S-MAN
# PHCO_31647 1.0 Japanese NFS manpages
PHCO_31647.NFS-JPN-E-MAN 1.0 NFS.NFS-JPN-E-MAN
PHCO_31647.NFS-JPN-S-MAN 1.0 NFS.NFS-JPN-S-MAN
# PHCO_31661 1.0 Japanese NFS/RCMDS manpages
PHCO_31661.NFS-JPN-E-MAN 1.0 NFS.NFS-JPN-E-MAN
PHCO_31661.NFS-JPN-S-MAN 1.0 NFS.NFS-JPN-S-MAN
# PHCO_31662 1.0 Japanese NFS/NIS manpages
PHCO_31662.NFS-JPN-E-MAN 1.0 NFS.NFS-JPN-E-MAN
PHCO_31662.NFS-JPN-S-MAN 1.0 NFS.NFS-JPN-S-MAN
# PHCO_31666 1.0 Japanese core NFS manpages
# PHCO_32523 1.0 quota(1) on an NFS client;uid enhancement
PHKL_31500.KEY-CORE 1.0 NFS.KEY-CORE
PHKL_31500.NFS-64SLIB 1.0 NFS.NFS-64SLIB
PHKL_31500.NFS-CORE 1.0 NFS.NFS-CORE
PHKL_31500.NFS-ENG-A-MAN 1.0 NFS.NFS-ENG-A-MAN
PHKL_31500.NFS-KRN 1.0 NFS.NFS-KRN
PHKL_31500.NFS-PRG 1.0 NFS.NFS-PRG
PHKL_31500.NFS-SHLIBS 1.0 NFS.NFS-SHLIBS
PHKL_31500.NFS2-CLIENT 1.0 NFS.NFS2-CLIENT
PHKL_31500.NFS2-CORE 1.0 NFS.NFS2-CORE
PHKL_31500.NFS2-SERVER 1.0 NFS.NFS2-SERVER
PHKL_31500.NIS2-CLIENT 1.0 NFS.NIS2-CLIENT
PHKL_31500.NIS2-CORE 1.0 NFS.NIS2-CORE
PHKL_31500.NIS2-SERVER 1.0 NFS.NIS2-SERVER
PHKL_31500.NISPLUS2-CORE 1.0 NFS.NISPLUS2-CORE
PHNE_32057.NFS-KRN 1.0 NFS.NFS-KRN
PHNE_33100.NFS-ENG-A-MAN 1.0 NFS.NFS-ENG-A-MAN
PHNE_33100.NFS-KRN 1.0 NFS.NFS-KRN
PHNE_33100.NFS2-CLIENT 1.0 NFS.NFS2-CLIENT
PHNE_33101.NFS-64SLIB 1.0 NFS.NFS-64SLIB
PHNE_33101.NFS-ENG-A-MAN 1.0 NFS.NFS-ENG-A-MAN
PHNE_33101.NFS-SHLIBS 1.0 NFS.NFS-SHLIBS
PHNE_33102.NFS-ENG-A-MAN 1.0 NFS.NFS-ENG-A-MAN
PHNE_33102.NFS2-CLIENT 1.0 NFS.NFS2-CLIENT
PHNE_33102.NFS2-CORE 1.0 NFS.NFS2-CORE
PHNE_33102.NFS2-SERVER 1.0 NFS.NFS2-SERVER
PHNE_33981.NFS-KRN 1.0 NFS.NFS-KRN
# PHNE_33982 1.0 NFS cumulative patch
PHNE_33982.NFS-CLIENT 1.0 NFS.NFS-CLIENT
PHNE_33982.NFS-ENG-A-MAN 1.0 NFS.NFS-ENG-A-MAN
PHNE_33982.NFS-KRN 1.0 NFS.NFS-KRN
PHNE_33982.NFS2-CORE 1.0 NFS.NFS2-CORE
PHNE_33982.NFS2-SERVER 1.0 NFS.NFS2-SERVER
#
# ps -ef | grep -E 'rpc|nfs|automount'
root 10 0 0 Dec 15 ? 7:09 nfsktcpd
root 884 1 0 Dec 15 ? 12:05 /usr/sbin/rpcbind
root 1335 1 0 Dec 15 ? 0:27 /opt/dce/sbin/rpcd
root 13465 13455 0 Feb 2 ? 2:35 /usr/sbin/nfsd 16
root 19500 1 0 Jan 17 ? 0:00 /usr/sbin/rpc.statd
root 19506 1 0 Jan 17 ? 0:00 /usr/sbin/rpc.lockd
root 19512 1 0 Jan 17 ? 2:21 /usr/sbin/automountd
root 13472 13453 0 Feb 2 ? 3:25 /usr/sbin/nfsd 16
root 13466 13455 0 Feb 2 ? 2:34 /usr/sbin/nfsd 16
root 13473 13464 0 Feb 2 ? 2:43 /usr/sbin/nfsd 16
root 13464 13453 0 Feb 2 ? 2:44 /usr/sbin/nfsd 16
root 13462 13454 0 Feb 2 ? 3:13 /usr/sbin/nfsd 16
root 13453 1 0 Feb 2 ? 3:25 /usr/sbin/nfsd 16
root 13461 13454 0 Feb 2 ? 3:14 /usr/sbin/nfsd 16
root 13441 1 0 Feb 2 ? 0:00 /usr/sbin/rpc.mountd
root 13468 13464 0 Feb 2 ? 2:43 /usr/sbin/nfsd 16
root 13454 13453 0 Feb 2 ? 3:12 /usr/sbin/nfsd 16
root 13463 13454 0 Feb 2 ? 3:12 /usr/sbin/nfsd 16
root 13467 13453 0 Feb 2 ? 3:25 /usr/sbin/nfsd 16
root 13475 13464 0 Feb 2 ? 2:43 /usr/sbin/nfsd 16
root 13460 13455 0 Feb 2 ? 2:34 /usr/sbin/nfsd 16
root 13470 13453 0 Feb 2 ? 3:26 /usr/sbin/nfsd 16
root 20030 20010 1 11:46:22 pts/0 0:00 grep -E rpc|nfs|automount
root 13455 13453 0 Feb 2 ? 2:35 /usr/sbin/nfsd 16
#
I tried to mount HP servers local directory to Red Hat Linux server but I am not able to mount it.
When i give the below command on Red Hat Linux:
# mount -t nfs HP_SERVER_IP:/Reomte_Directory /Local_Directory
process is going on...I need to kill it everytime using
Please suggest,
what to install and from where I can download the package.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 05:10 AM
тАО02-20-2007 05:10 AM
Re: NFS in between HP-UX & Red Hat Linux
# rpcinfo -t
program 100003 version 2 ready and waiting
program 100003 version 3 ready and waiting
# rpcinfo -t
program 100005 version 1 ready and waiting
rpcinfo: RPC: Program/version mismatch; low version = 1, high version = 3
program 100005 version 2 is not available
program 100005 version 3 ready and waiting
# rpcinfo -t
program 100021 version 1 ready and waiting
rpcinfo: RPC: Procedure unavailable
program 100021 version 2 is not available
program 100021 version 3 ready and waiting
program 100021 version 4 ready and waiting
# rpcinfo -t
program 100024 version 1 ready and waiting
This will at least confirm that the RedHat client can communicate with the various daemons on the HP-UX server.
If all of the above rpcinfo commands return the expected results then I would verify the target filesystem is exported as you expect. On the NFS server issue this command:
# cat /etc/xtab
Verify the filesystem is exported with the permissions you expect and verify the RedHat client is included in any access lists associated with the target filesystem.
I would then enable debug rpc.mountd logging on the HP-UX server:
# kill -17 $(ps -e | grep mountd | awk '{print $1}')
Finally, try the NFS mount again and see what kind of messages are logged in the /var/adm/mountd.log file on the NFS server. This should show the MOUNT request coming in from the RedHat system and whether it is accepted or denied.
This will hopefully steer us in the right direction. There may be other data to collect, based on what this data shows, but this is what I'd collect first.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 07:15 AM
тАО02-20-2007 07:15 AM
Re: NFS in between HP-UX & Red Hat Linux
I need to kill every command using
Please suggest.
On HP-UX, file system has been successfully exported, i am able to mount them to other HP-UX server but not on red hat linux
Thanks
Vipin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 07:20 AM
тАО02-20-2007 07:20 AM
Solutionlinkloop
ping
ftp
rcp
telnet
ttcp
netperf
Do all of those programs work as expected between these two systems? If these programs work and only NFS doesn't then I'd suggest taking a network trace of the failing rpcinfo commands to see if the trace shows the RPC packet leaving the RedHat box and never getting a reply from the HP-UX box.
Is there any firewall between these systems? IP Filter? Anything else that would restrict packets destined for specific port numbers?
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 07:40 AM
тАО02-20-2007 07:40 AM
Re: NFS in between HP-UX & Red Hat Linux
Now I came to know that I can mount hp-ux file system to redhat linux.
I tried with other server which are in same subnet as the hp-ux server.
I think this is a firewall issue in between hp-ux and linux server.
can you please let me know which ports I need to get opened and on which server?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 07:43 AM
тАО02-20-2007 07:43 AM
Re: NFS in between HP-UX & Red Hat Linux
What OS is the HP-UX system running?
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 07:52 AM
тАО02-20-2007 07:52 AM
Re: NFS in between HP-UX & Red Hat Linux
and
Red Hat Enterprise Linux AS release 4 (Nahant Update 1)
Thanks dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 08:17 AM
тАО02-20-2007 08:17 AM
Re: NFS in between HP-UX & Red Hat Linux
Please suggest
which ports should I need to get opened and on which server
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2007 08:22 AM
тАО02-20-2007 08:22 AM
Re: NFS in between HP-UX & Red Hat Linux
If you have installed patch PHNE_34550 and PHNE_34551 (or any patches that supersede them) you can add the following lines to the /etc/rc.config.d/nfsconf file on the NFS server:
LOCKD_PORT=
STATD_PORT=
MOUNTD_PORT=
This allows you to configure static port numbers for rpc.lockd, rpc.statd and rpc.mountd. This means they will always start using the same port numbers, which makes configuring a firewall infinitely easier than before these fixes.
I recommend setting LOCKD_PORT to 4045 since that is the industry standard port number for rpc.lockd. I would then set STATD_PORT to 4046 and rpc.mountd to 4047. Like this:
LOCKD_PORT=4045
STATD_PORT=4046
MOUNTD_PORT=4047
Then you stop/start the nfs.client and nfs.server scripts:
# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.client stop
# /sbin/init.d/nfs.client start
# /sbin/init.d/nfs.server start
and the newly running rpc.lockd, rpc.mountd and rpc.statd should be using the static port numbers. You can confirm this with an rpcinfo -p command, like this:
# rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 udp 4046 status
100024 1 tcp 4046 status
100020 1 udp 4045 llockmgr
100020 1 tcp 4045 llockmgr
100021 1 udp 4045 nlockmgr
100021 3 udp 4045 nlockmgr
100021 4 udp 4045 nlockmgr
100021 1 tcp 4045 nlockmgr
100021 3 tcp 4045 nlockmgr
100021 4 tcp 4045 nlockmgr
100021 2 tcp 4045 nlockmgr
100005 1 udp 4047 mountd
100005 3 udp 4047 mountd
100005 1 tcp 4047 mountd
100005 3 tcp 4047 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
As you can see, the daemons are now registering at the configured ports. You also need to include ports 111 (rpcbind) and 2049 (nfsd). These patches make configuring a firewall or IP Filter much easier than without them.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
