linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Should "mount -o proto=udp" be usable against an IPv6 only server?
@ 2012-10-04  4:15 Chuck Lever
  2012-10-08  3:35 ` NeilBrown
  0 siblings, 1 reply; 16+ messages in thread
From: Chuck Lever @ 2012-10-04  4:15 UTC (permalink / raw)
  To: Neil Brown; +Cc: Linux NFS Mailing List

Hi-

Unfortunately our corporate e-mail server lost your e-mail from yesterday.  I read it last night and was going to reply this morning, but it was gone from my mailbox.  I'm not sure how to preserve the thread structure at this point.

I'm OK with the nfsmount.conf() changes, and the addition of IPv6 syntax to the clientaddr= option.

>> The protocol and protocol family the NFS client uses to transmit requests to the NFS server for this mount point.  For example, udp selects UDP over IPv4, while tcp6 selects TCP over IPv6.  If an NFS server has both an IPv4 and an IPv6 address, using a specific netid forces the use of IPv4 or IPv6 networking to communicate with that server.
> 
> I still don't like that last sentence.

Can you say why?

While that sentence could be made more precise, this is one of the key reasons NFS with netids works the way it does.  Dual-stack NFS servers will be pervasive for some time to come.

Other comments:

  o "rdma6" is not supported, and should not be explicitly listed.

  o "mountproto=rdma[6]" is not supported.

  o We discourage the use of UDP with NFSv4 (in fact it may no longer be supported).  The NFSv4 proto= language should not list "udp" or "udp6."

--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com


^ permalink raw reply	[flat|nested] 16+ messages in thread
* Should "mount -o proto=udp" be usable against an IPv6 only server?
@ 2012-09-18  1:54 NeilBrown
  2012-09-18  5:28 ` Chuck Lever
  0 siblings, 1 reply; 16+ messages in thread
From: NeilBrown @ 2012-09-18  1:54 UTC (permalink / raw)
  To: NFS

[-- Attachment #1: Type: text/plain, Size: 667 bytes --]



It seems that with current nfs-utils, "proto=udp" (either
in /etc/nfsmount.conf or on the command line) restricts the mount to using
IPv4, not IPv6.
For IPv6 you need "udp6".

This isn't made crystal clear by the documentation.  I could fix the
documentation, but first I wanted to check if this really is appropriate.
Is there a good reason for this, or should we make "udp" mean "udp4 or udp6"
and require either "udp4" or "udp6" if we want a particular IP version.

i.e. instead of treating the "proto=" value as a "netid", should we treat it
as a "protoname" and match any "netid" in /etc/netconfig with that
"protoname"??

Thanks,
NeilBrown 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2012-10-15 17:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-04  4:15 Should "mount -o proto=udp" be usable against an IPv6 only server? Chuck Lever
2012-10-08  3:35 ` NeilBrown
2012-10-08 15:51   ` Chuck Lever
2012-10-08 23:48     ` NeilBrown
2012-10-09 15:01       ` Chuck Lever
2012-10-11  0:01         ` NeilBrown
2012-10-15 17:13         ` Steve Dickson
  -- strict thread matches above, loose matches on Subject: below --
2012-09-18  1:54 NeilBrown
2012-09-18  5:28 ` Chuck Lever
2012-09-18  6:29   ` NeilBrown
2012-09-18 15:31     ` Chuck Lever
2012-09-18 23:19       ` NeilBrown
2012-09-19  1:00         ` Chuck Lever
2012-10-02  5:24           ` NeilBrown
2012-10-02 14:24             ` Chuck Lever
2012-10-03  3:11               ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).