- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS serives running via udp / tcp part 2
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
Forums
Discussions
Discussions
Discussions
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
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
03-26-2006 09:02 PM
03-26-2006 09:02 PM
In my earlier request to find a solution to
Why my server was running NFS under UDP and not TCP, I was given the following responses.
1. add NFS_TCP=1 in the nfsconf file
2. add -o proto=tcp in MOUNTD_OPTIONS within the nfsconf file.
I have now had chance to reboot my server, however starting nfs.server started but failed(!).
In rc.log the following message is posted.
Start NFS server subsystem
Output from "/sbin/rc3.d/S100nfs.server start":
----------------------------
starting NFS SERVER networking
starting up the rpcbind daemon
rpcbind already started, using pid: 917
Reading in /etc/exports
usage: /usr/sbin/rpc.mountd [-l log_file] [-t #] [-X #] [-p]
-t 1 Only log errors (default)
-t 2 Log errors and mount requests
-t 3 Internal tracing
-X 0 [HP-only] Disable pathname exclusion
FAILURE CODE: 10
starting up the NFS daemons
/usr/sbin/nfsd 30
starting up the Status Monitor daemon
rpc.statd already started, using pid: 1035
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 1041
"/sbin/rc3.d/S100nfs.server start" FAILED
The server is still running NFS under UDP.
So my question is how do I get my server to mount NFS filesystems under TCP and not UDP.
Any help will be much appreciated.
regards
Aslam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:05 PM
03-26-2006 09:05 PM
SolutionIn the system terminal,
# /etc/init.d/nfs.server start
# /etc/init.d/nfs.core start
Is server started or having errors. check /var/adm/syslog/syslog.log file.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:06 PM
03-26-2006 09:06 PM
Re: NFS serives running via udp / tcp part 2
Errors are in /var/amd/syslog/syslog.log
Seeing them would be helpful.
You hae changed the mount options for this server. You now need to mount nfs from a remote system and see if errors are generated in the local log and on the nfs client.
You may need to disable the options in the configuration file that refer to UDP. It would be helpful to see the whole config file.
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
03-26-2006 09:14 PM
03-26-2006 09:14 PM
Re: NFS serives running via udp / tcp part 2
thanks for responding.
nfs.server is running.
Unfortunatle I dont know where or which file defines the fact that this server uses udp rather than tcp.
Another machine which mounts off this server can see the filesystems and mount it via tcp.
No errors shown in syslog or on the other machine's syslog.
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:16 PM
03-26-2006 09:16 PM
Re: NFS serives running via udp / tcp part 2
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:20 PM
03-26-2006 09:20 PM
Re: NFS serives running via udp / tcp part 2
I have amneded the file and restarted but it still runs NFS under UDP.....
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:39 PM
03-26-2006 09:39 PM
Re: NFS serives running via udp / tcp part 2
# netstat -na | grep 2049
Is it tcp or udp. It has to be tcp.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:42 PM
03-26-2006 09:42 PM
Re: NFS serives running via udp / tcp part 2
I am getting the following output
# netstat -na | grep 2049
tcp 0 0 192.168.1.1.2049 192.168.1.5.872 ESTABLISHED
tcp 0 0 *.2049 *.* LISTEN
tcp 0 0 192.168.1.1.2049 192.168.1.3.957 ESTABLISHED
tcp 0 0 192.168.1.1.2049 192.168.1.2.708 ESTABLISHED
tcp 0 0 192.168.1.1.1023 192.168.1.20.2049 ESTABLISHED
udp 0 0 *.2049 *.*
udp 0 0 *.2049 *.*
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:45 PM
03-26-2006 09:45 PM
Re: NFS serives running via udp / tcp part 2
Hope you have to remove -o proto=tcp in MOUNTD_OPTIONS for not making to get errors like,
usage: /usr/sbin/rpc.mountd [-l log_file] [-t #] [-X #] [-p]
-t 1 Only log errors (default)
....
"/sbin/rc3.d/S100nfs.server start" FAILED
in system reboot.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:49 PM
03-26-2006 09:49 PM
Re: NFS serives running via udp / tcp part 2
I dont get the errors.
When running nfsstat -m, I still get my filsystem running under UDP.
Is there any other way apart from manually mounting them using the "-o proto=tcp" option under mount ?
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 09:55 PM
03-26-2006 09:55 PM
Re: NFS serives running via udp / tcp part 2
NFS.Server is working fine. You have to change this setting only.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 10:01 PM
03-26-2006 10:01 PM
Re: NFS serives running via udp / tcp part 2
Forgive my ignorance but where in the fstab file would I need to put this in?
The example below is part of the fstab
nas9000_private:/met /home/met nfs rw,suid 0 0
Cheers,
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 10:18 PM
03-26-2006 10:18 PM
Re: NFS serives running via udp / tcp part 2
nas9000_private:/met /home/met nfs rw,suid 0 0
to
nas9000_private:/met /home/met nfs rw,suid,proto=tcp 0 0
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 10:20 PM
03-26-2006 10:20 PM
Re: NFS serives running via udp / tcp part 2
# mount -a
after /etc/fstab setting,
will read /etc/fstab to set the new mount with tcp protocol.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 10:33 PM
03-26-2006 10:33 PM
Re: NFS serives running via udp / tcp part 2
I have changed it, and to test I have umounted and mounted that specific filesystem.
In fstab
nas9000_private:/den /home/den nfs rw,suid,proto=tcp 0 0
I then mount /home/den and get the following :
nfs mount: getaddr_nfs: nas9000_private: NFS service not responding(retry delay=5s)
nfs mount: retry: retrying(1) for: /home/den after 5 seconds
nfs mount: retry: giving up on: /home/den
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 10:36 PM
03-26-2006 10:36 PM
Re: NFS serives running via udp / tcp part 2
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2006 10:50 PM
03-26-2006 10:50 PM
Re: NFS serives running via udp / tcp part 2
No I didn;t restart the nfs.core or nfs.server.
All I did was to umount /home/den
then did the same for mount /home/den.
Would it make a difference ?
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 12:07 AM
03-27-2006 12:07 AM
Re: NFS serives running via udp / tcp part 2
When I go into SAm and look at the nfs mounted file systems, it does report that it is using UDP.
HOwever if you modify it, it wont change it , if you remove and read the mount, changing the protocol to NFS results in ... yes you guessed it protocol udp.
I'm completely baffled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 01:21 AM
03-27-2006 01:21 AM
Re: NFS serives running via udp / tcp part 2
Let's start from the beginning. What exactly is your environment? Is your issue having to do with your HP-UX environment always having to mount NFS via UDP from your NFS server?
1. What is your NFS server? Is it a NAS or another UNIX Server?
2. What is your /etc/fstab entry on your server that pertains to the mount from your NFS server?
3. If your NFS server is a NAS - is it possible it's NFS service is restricted to UDP transport? This may very well explain why TCP does not work...
Hope this helps..
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 01:35 AM
03-27-2006 01:35 AM
Re: NFS serives running via udp / tcp part 2
This is hp-ux 11.11 v1 server where it serves out filesystem, to other hp-ux servers. However it also mounts filesystems from a windows NAS9000 servers. (Services for unix v3.5).
This server is similar to the other hp-ux servers but will only mount NFS filesystem using UDP. the other nodes all mount NFS under TCP ( strange eh! ).
The entry from the other server is :
nas9000_private:/met /home/met nfs rw,suid 0 0
which will mount via TCP.
The NFS NAS server, has an option to have TCP support which is selected, my other servers mount using tcp fine.
I hope that I have answered your queries.
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 03:46 AM
03-27-2006 03:46 AM
Re: NFS serives running via udp / tcp part 2
I think I understand your situation. You have a number of identical NFS clients all mounting a filesystem from the NAS9000 server. All but one of these clients mounts the filesystem using TCP but one of them mounts via UDP. Is this correct?
The one system that mounts via UDP - is it able to mount other filesystems via TCP from other servers? Is it able to mount other filesystems exported by the NAS9000 using TCP, but fails on the specific filesystem you've mentioned?
I'm trying to understand if this is a problem with your client not being able to mount ANY filesystem via TCP or if this is the server not allowing TCP access to this client, or if it is the server not allowing TCP access to this one specific filesystem.
So again:
1) Can the NFS client mount using TCP from any other server?
2) Can the NFS client mount any other filesystems from this NAS9000 using TCP?
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
03-27-2006 06:17 AM
03-27-2006 06:17 AM
Re: NFS serives running via udp / tcp part 2
I think I understand your situation. You have a number of identical NFS clients all mounting a filesystem from the NAS9000 server. All but one of these clients mounts the filesystem using TCP but one of them mounts via UDP. Is this correct?
>>> Yes this is correct.
The one system that mounts via UDP - is it able to mount other filesystems via TCP from other servers?
>>> Yes, we have a NAS8000 server (linux) which is mounted via TCP.
Is it able to mount other filesystems exported by the NAS9000 using TCP, but fails on the specific filesystem you've mentioned?
>>> No it does not seem able to mount using TCP from the NAS9000, as I have tried it on a number of filesystems.
1) Can the NFS client mount using TCP from any other server?
>>> Yes it can from another NAS8000(linux).
2) Can the NFS client mount any other filesystems from this NAS9000 using TCP?
>>>As yet unable to, however there are other systems similar, same nfsconf file, which can mount using TCP.
My immediate pointer would be to the NAS9000 windows NFS server, however the only config file I know is the nfsconf file, which is now the same on all the 6 hp-ux servers. Yet this is the only server which mounts all but one filesystem under TCP.
Cheers, Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2006 06:26 AM
03-27-2006 06:26 AM
Re: NFS serives running via udp / tcp part 2
The next piece of data I'd collect would be two nettl traces - one trace collected on the failing HP-UX client when it tries to mount the TCP filesystem from the Windows-based NAS9000, the other trace collected on a different HP-UX client when it successfully mounts the TCP filesystem from the NAS9000 server.
Comparing the failing trace with the working one might give some clues as to why the TCP mount is failing. If you need help collecting the traces or interpretting them let me know.
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
03-27-2006 06:17 PM
03-27-2006 06:17 PM
Re: NFS serives running via udp / tcp part 2
Yup i'll need some advice on how to collect these traces.
Aslam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2006 03:48 AM
03-28-2006 03:48 AM
Re: NFS serives running via udp / tcp part 2
START# /etc/nettl -tn pduin pduout loopback -e ns_ls_ip -f
Reproduce the problem
STOP# /etc/nettl -tf -e all
This will create at least one, possibly more than one file in the directory with whatever name you assigned to the trace file (via the -f option) and an extension of .TRC000/1. These are the raw trace files.
If you need help interpretting them, please upload these raw trace files, from both the working and failing clients, here along with the IP addresses of the clients so that we can filter out any non-relevant packets in the traces.
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]
