- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NFS Mount - TCP only
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
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
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
тАО11-12-2003 04:56 AM
тАО11-12-2003 04:56 AM
How do I mount a NFS share on the client so that it uses only tcp for communication ( I believe it is udp by default). I could not find any clue from the man pages. Is there any specific option which can be passed thru -o switch of mount command??
Pl. help
Thanks
Karthik S S
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 05:00 AM
тАО11-12-2003 05:00 AM
Re: NFS Mount - TCP only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 05:03 AM
тАО11-12-2003 05:03 AM
Re: NFS Mount - TCP only
mount -f NFS -o proto=tcp nfs_server:/exported_file /local_mount_point
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 05:07 AM
тАО11-12-2003 05:07 AM
Re: NFS Mount - TCP only
In either case, if TCP is not available on nfs server, it will fall back to UDP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 05:12 AM
тАО11-12-2003 05:12 AM
Re: NFS Mount - TCP only
Unless my pea brain molecules are wrong about what was said 16 months ago in HP school.
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
тАО11-12-2003 05:15 AM
тАО11-12-2003 05:15 AM
Re: NFS Mount - TCP only
-Thanks
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 05:44 AM
тАО11-12-2003 05:44 AM
Re: NFS Mount - TCP only
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 05:49 AM
тАО11-12-2003 05:49 AM
Re: NFS Mount - TCP only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 05:49 AM
тАО11-12-2003 05:49 AM
Re: NFS Mount - TCP only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2003 06:06 PM
тАО11-12-2003 06:06 PM
Re: NFS Mount - TCP only
U can confirm it with rpcinfo -p server command. If it doesn't work use netstat -an | grep -i nfsd. if it gives "established" in the output, u can ensure that it is using tcp.
In the NFS server side, export the share with options, vers=3,proto=tcp and mount at client side also with the same options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 07:25 AM
тАО11-19-2003 07:25 AM
Re: NFS Mount - TCP only
Thanks,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 05:03 PM
тАО11-19-2003 05:03 PM
Re: NFS Mount - TCP only
You can check the communication using nfsstat command
whethere it is on TCP or UDP
Thanx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2003 06:04 PM
тАО11-19-2003 06:04 PM
Re: NFS Mount - TCP only
Just check with #uname -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 10:46 AM
тАО11-21-2003 10:46 AM
Re: NFS Mount - TCP only
Thanx,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 12:04 PM
тАО11-21-2003 12:04 PM
Re: NFS Mount - TCP only
From the NFS-HOWTO:
http://www.tldp.org/HOWTO/NFS-HOWTO/performance.html#NFS-TCP
5.4. NFS over TCP
A new feature, available for both 2.4 and 2.5 kernels but not yet integrated into the mainstream kernel at the time of this writing, is NFS over TCP. Using TCP has a distinct advantage and a distinct disadvantage over UDP. The advantage is that it works far better than UDP on lossy networks. When using TCP, a single dropped packet can be retransmitted, without the retransmission of the entire RPC request, resulting in better performance on lossy networks. In addition, TCP will handle network speed differences better than UDP, due to the underlying flow control at the network level.
The disadvantage of using TCP is that it is not a stateless protocol like UDP. If your server crashes in the middle of a packet transmission, the client will hang and any shares will need to be unmounted and remounted.
The overhead incurred by the TCP protocol will result in somewhat slower performance than UDP under ideal network conditions, but the cost is not severe, and is often not noticable without careful measurement. If you are using gigabit ethernet from end to end, you might also investigate the usage of jumbo frames, since the high speed network may allow the larger frame sizes without encountering increased collision rates, particularly if you have set the network to full duplex.
also check this link...
http://www.livejournal.com/talkread.bml?journal=kt_linux&itemid=77094
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 12:05 PM
тАО11-21-2003 12:05 PM
Re: NFS Mount - TCP only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 12:08 PM
тАО11-21-2003 12:08 PM
Re: NFS Mount - TCP only
-Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2003 12:18 PM
тАО11-21-2003 12:18 PM
Solution1) login to your linux box as root.
2) cd /usr/src/linux-2.4
3) make menuconfig
4) goto Filesystems -> Network Filesystems
5) check the "Provide NFS server over TCP support (EXPERIMENTAL)" box
6) exit and recompile your kernel.