2005-12-15 12:58:16

by mehta kiran

[permalink] [raw]
Subject: NFS Client port

Hi,
Does NFS Client try to use port different then the
port
most recently released or next in the series ?

NFS client is using some port say x
Due to some reason connection between client=20
and server is broken. Will NFS Client
use the port x to reestablish connection or will it

use port other then x ?

=20

thanks,
kiran
=20
=20


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2005-12-15 16:30:41

by Chuck Lever

[permalink] [raw]
Subject: Re: NFS Client port

mehta kiran wrote:
> Hi,
> Does NFS Client try to use port different then the
> port
> most recently released or next in the series ?
>
> NFS client is using some port say x
> Due to some reason connection between client
> and server is broken. Will NFS Client
> use the port x to reestablish connection or will it
>
> use port other then x ?

until very recently, the RPC client would choose a different port when
reconnecting. there's a patch in the transport switch series that i
believe is going in 2.6.15 that makes the client reconnect on the same port.


Attachments:
cel.vcf (451.00 B)

2005-12-16 02:31:55

by mehta kiran

[permalink] [raw]
Subject: Re: NFS Client port

Hi,
Any specific reason to make NFS Client connect on=20
the same port or is it to make it simialr
to/follow=20
Solaris implementation where NFS Client connects
with
same port?

thanks,
kiran


--- Chuck Lever <[email protected]> wrote:

> mehta kiran wrote:
> > Hi,
> > Does NFS Client try to use port different then
> the
> > port
> > most recently released or next in the series ?
> >=20
> > NFS client is using some port say x
> > Due to some reason connection between client=20
> > and server is broken. Will NFS Client
> > use the port x to reestablish connection or
> will it
> >=20
> > use port other then x ?
>=20
> until very recently, the RPC client would choose a
> different port when=20
> reconnecting. there's a patch in the transport
> switch series that i=20
> believe is going in 2.6.15 that makes the client
> reconnect on the same port.
> > begin:vcard
> fn:Chuck Lever
> n:Lever;Charles
> org:Network Appliance, Incorporated;Open Source NFS
> Client Development
> adr:535 West William Street, Suite 3100;;Center for
> Information Technology Integration;Ann
> Arbor;MI;48103-4943;USA
> email;internet:[email protected]
> title:Member of Technical Staff
> tel;work:+1 734 763-4415
> tel;fax:+1 734 763 4434
> tel;home:+1 734 668-1089
> x-mozilla-html:FALSE
> url:http://troy.citi.umich.edu/u/cel/
> version:2.1
> end:vcard
>=20
>=20


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2005-12-16 03:48:10

by Trond Myklebust

[permalink] [raw]
Subject: Re: NFS Client port

On Thu, 2005-12-15 at 18:31 -0800, mehta kiran wrote:
> Hi,
> Any specific reason to make NFS Client connect on
> the same port or is it to make it simialr
> to/follow
> Solaris implementation where NFS Client connects
> with
> same port?

Most NFSv2/v3 server implementations expect that if the client wants to
resend an RPC request, then it will use the same port as the original
request. If not, replaying something like a mkdir request would result
in the server returning the equivalent of the error EEXIST.

Cheers,
Trond



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs