Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which Protocol in use by NFS

Status
Not open for further replies.

KPKIND

Technical User
Sep 8, 2003
130
IN
Hi,

I have got a NFS mount where the protocol to be used is set to any. If I am not wrong, there is a way to check which protocol is it currently using to mount a specific filesystem. I am unable to reckon that, can someone please let me know how to check this.

TIA
KPKIND
 
use nfsstat and have a look to Connectionless and Connection oriented and have a look to the calls value.

Looking the one wich incerase, you'll have the protocol used
 
Hi,

Thanks for the info. In my case I have got more than one NFS filesystems coming from my NFS server. Out of all these NFS FS's, only one is set to any protocol and rest of them are set to use TCP. The one FS that is set to any, might use UDP or TCP. So I wanted to check if this one is using TCP or UDP.

TIA
KPKIND
 
So, Gloups' idea should still help you:

If nfsstat (run it a few times with 1 minute interval) shows that connectionless calls are increasing, then your "ANY" NFS mount uses UDP, if no increase is found, it uses TCP like the rest of the mounts...


HTH,

p5wizard
 
Hi,

Thanks for your information. I have tried this trick but thought if there is any exact way of finding this. Since I need to go back to the customer to say this, I was not feeling convenient to give him an approximate information instead of exact information. Anyway thanks for both of you again.

Cheers
KPKIND
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top