Networking Forums

Networking Forums > Computer Networking > Linux Networking > How do I determine from a Linux client whether an NFS mount is over UDP or TCP?

Reply
Thread Tools Display Modes

How do I determine from a Linux client whether an NFS mount is over UDP or TCP?

 
 
enjoylife_95135@hotmail.com
Guest
Posts: n/a

 
      06-22-2005, 11:59 PM
On Solaris its nfsstat -m, but I can't find a similar way to do so in
Linux, other than using ethereal. Which I don't want my users to do..

Any help is appreciated.

Thanks!

 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      06-23-2005, 10:53 AM
In comp.os.linux.networking (E-Mail Removed):
> On Solaris its nfsstat -m, but I can't find a similar way to do so in
> Linux, other than using ethereal. Which I don't want my users to do..


You can see this from the output of 'mount', if 'tcp' isn't
displayed you are using 'udp' which is the default.

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 352: The cables are not the same length.
 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      06-23-2005, 04:53 PM
Michael Heiming wrote:

> In comp.os.linux.networking (E-Mail Removed):
>> On Solaris its nfsstat -m, but I can't find a similar way to do so in
>> Linux, other than using ethereal. Which I don't want my users to do..

>
> You can see this from the output of 'mount', if 'tcp' isn't
> displayed you are using 'udp' which is the default.
>


I don't see "tcp" on a mount between two SuSE 9.3 systems. I thought TCP
was supposed to be default now. Also, ethereal shows TCP is being used for
NFS.

Can you provide an example?

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      06-23-2005, 05:48 PM
In comp.os.linux.networking James Knott <(E-Mail Removed)>:
> Michael Heiming wrote:
>> In comp.os.linux.networking (E-Mail Removed):
>>> On Solaris its nfsstat -m, but I can't find a similar way to do so in
>>> Linux, other than using ethereal. Which I don't want my users to do..

>>
>> You can see this from the output of 'mount', if 'tcp' isn't
>> displayed you are using 'udp' which is the default.
>>


> I don't see "tcp" on a mount between two SuSE 9.3 systems. I thought TCP
> was supposed to be default now. Also, ethereal shows TCP is being used for
> NFS.


> Can you provide an example?


From taking a closer look, a few distro seem to have just changed
the default protocol for nfs. So you can't be sure anymore thx to
those punks. But looking at 'cat /proc/mounts' seems to always
display the protocol used no matter which one is used unlike
'mount' which doesn't always show the default (sadly).

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 50: Change in Earth's rotational speed
 
Reply With Quote
 
Jerry McBride
Guest
Posts: n/a

 
      06-26-2005, 04:01 PM
(E-Mail Removed) wrote:

> On Solaris its nfsstat -m, but I can't find a similar way to do so in
> Linux, other than using ethereal. Which I don't want my users to do..
>
> Any help is appreciated.
>
> Thanks!



Mount works for me...


spinner ~ # mount

nfsd on /proc/fs/nfs type nfsd (rw)

rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)

mutley:/ on /mnt/mroot type nfs
(rw,noatime,rsize=65536,wsize=65536,retry=2,hard,i ntr,addr=192.168.0.1,tcp)

sid:/ on /mnt/sid type nfs
(rw,noatime,rsize=65536,wsize=65536,retry=2,hard,i ntr,addr=192.168.0.11,tcp)

spinner ~ #

--

************************************************** ****************************
Registered Linux User Number 185956
FSF Associate Member number 2340 since 05/20/2004
Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
11:11am up 15 days, 19:44, 1 user, load average: 0.12, 0.07, 0.02
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount Windows Server 2008 drive to Unix client A Guy Called Tyketto Windows Networking 0 10-02-2008 03:59 PM
NFS mount won't mount at boot, but mount -a works fine. BT Linux Networking 2 09-23-2004 09:37 PM
OSX NFS server, Linux client can't read mount jb_is_not@home.yet Linux Networking 0 09-04-2004 12:43 AM
Trouble Installing Linux/Cisco VPN Client Has anyone had trouble compiling the linux cisco vpn client? Here is the output of the install script: # uname -rviosm Linux 2.4.22-1.2188.nptl #1 Wed Apr 21 20:19:18 EDT 2004 x86_64 x86_64 GNU/Linux JSH Linux Networking 4 07-02-2004 12:48 PM
How to mount from Linux NFS client to Allegro NFSd vadiraj_kulkarni@mailcity.com Linux Networking 2 10-17-2003 12:50 PM



1 2 3 4 5 6 7 8 9 10 11