LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 12-19-2009, 04:25 AM   #1
AzraelShade
LQ Newbie
 
Registered: Feb 2006
Posts: 8

Rep: Reputation: 0
NFSv3 over TCP


Hello.

Got a NFS server separated by a firewall from the NFS client. All tcp connections are allowed from from the client to the server, but not udp. Is there any way i can force NFS to use only TCP. I presume mountd udp is my problem.
Getting the udp connections open aswell would take quite a long time.

The NFS server is a Solaris 9 running NFSv3, while the client is Solaris 10 running NFSv4 but I set in /etc/default/nfs the max_version to 3.

On a sidenote, i've mounted the share using webnfs manually and worked:
mount -F nfs nfs://nfsserver:2049/nfs_share /share

But i can't manage to make it with autofs. When i try to access the share, it always says Permission Denied.

My /etc/auto_master has :
/- /etc/auto_direct

And my /etc/auto_direct has :
/share -ro nfs://nfsserver:2049/nfs_share

Any ideas on this ?
 
Old 12-22-2009, 04:05 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
I would try replacing
Code:
NFSD_PROTOCOL=ALL
by
Code:
NFSD_PROTOCOL=tcp
in /etc/default/nfs
 
Old 03-04-2011, 03:59 PM   #3
forrie
Member
 
Registered: Sep 2003
Distribution: RedHat
Posts: 41

Rep: Reputation: 15
Solaris 10 and UDP/TCP NFS Mounts

Chiming in here..

I have a Solaris 10 thumper (x4550) which is our NFS server (NAS). Our RHEL clients were reconfigured to mount TCP NFS mounts -- the filesystems were unnmounted, then remounted. Surprisingly, nfsstat -m still shows them mounted via UDP.

What's up with that?

I don't want to restrict the capability to TCP only, as it may cause some other systems to fail. How can I change this, and more importantly, why is the reconfigured mount going back to UDP after it was unmounted and remounted and requested as proto=tcp?
 
Old 03-04-2011, 04:17 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
No idea but it looks like a RHEL issue to me.
 
Old 03-07-2011, 02:59 PM   #5
forrie
Member
 
Registered: Sep 2003
Distribution: RedHat
Posts: 41

Rep: Reputation: 15
I've configured our NFS mounts to be all TCP-based -- under RHEL, you can't just unmount and remount, you have to restart the netfs service (bug); otherwise, nfsstat -m still thinks it's UDP.

This pretty much stopped the retrans problems. However, running "iozone" shows the overall performance is pretty crappy in comparison.

There is a very large wsize/rsize window negotiated between the RHEL linux clients and the Sun x4550 thumper (1048576). I may need to reduce that.

I think another problem is that we have 3COM 4200G switches here that are daisy-chained via a gigabit switch port -- at least, the backend network will become congested, sorta like putting a ton of traffic through a small straw at times.

I'm looking into rectifying this -- the back connectors MOD1 and MOD2 are meant for SFP transceiver connections (10 Gps) -- they should be connected that way. This may hopefully resolve the performance problem.

Any other tips, thoughts welcomed.


Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could I share file on tmpfs via NFSv3 waroros Linux - Networking 2 10-01-2009 02:08 AM
NFSv3 Performance Issues with Sun ST5320 NAS Brad.Scalio@noaa.gov Linux - Networking 0 07-22-2008 08:45 PM
LXer: Benchmarking NFSv3 vs. NFSv4 file operation performance LXer Syndicated Linux News 0 06-20-2008 11:00 AM
nfs mount using nfsv3 with HPUX fails mpqcman Linux - Software 5 10-27-2005 11:14 AM
NFS client on LFS4.1: "NFSv3 not supported" SparceMatrix Linux From Scratch 4 06-17-2003 05:32 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration