* Problems mounting via UDP from a netapp with multiple interfaces
@ 2015-04-09 19:34 Gregory Boyce
2015-04-09 21:08 ` Ben Greear
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Gregory Boyce @ 2015-04-09 19:34 UTC (permalink / raw)
To: linux-nfs
Folks,
I've been encountering a problem with NFS clients attempting to mount
from a netapp via UDP where the netapp is responding on the wrong
interface. On some of our older systems, this mount worked properly,
while on newer systems nfs-utils ends up failing the mount. Mounting
via TCP works fine.
It appears that there has been various related discussions over the
years, and a relevant Redhat bug opened back in 2006:
http://article.gmane.org/gmane.linux.nfs/22778/match=connect+udp
https://bugzilla.redhat.com/show_bug.cgi?id=208244
Is there a general recommendation for people in this sort of
situation? I'm assuming the code is currently using connected UDP
sockets (I'm more of a sysadmin than a developer). Is there an option
I'm missing to disable this? Otherwise does anyone know of a patch to
change the behavior?
--
Greg
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Problems mounting via UDP from a netapp with multiple interfaces
2015-04-09 19:34 Problems mounting via UDP from a netapp with multiple interfaces Gregory Boyce
@ 2015-04-09 21:08 ` Ben Greear
2015-04-10 18:22 ` Gregory Boyce
2015-04-10 0:23 ` Trond Myklebust
2015-04-10 3:09 ` Malahal Naineni
2 siblings, 1 reply; 10+ messages in thread
From: Ben Greear @ 2015-04-09 21:08 UTC (permalink / raw)
To: Gregory Boyce; +Cc: linux-nfs
On 04/09/2015 12:34 PM, Gregory Boyce wrote:
> Folks,
>
> I've been encountering a problem with NFS clients attempting to mount
> from a netapp via UDP where the netapp is responding on the wrong
> interface. On some of our older systems, this mount worked properly,
> while on newer systems nfs-utils ends up failing the mount. Mounting
> via TCP works fine.
>
> It appears that there has been various related discussions over the
> years, and a relevant Redhat bug opened back in 2006:
>
> http://article.gmane.org/gmane.linux.nfs/22778/match=connect+udp
> https://bugzilla.redhat.com/show_bug.cgi?id=208244
>
> Is there a general recommendation for people in this sort of
> situation? I'm assuming the code is currently using connected UDP
> sockets (I'm more of a sysadmin than a developer). Is there an option
> I'm missing to disable this? Otherwise does anyone know of a patch to
> change the behavior?
I have some patches that allow binding an NFS client to a particular
local IP. You need modified mount.nfs tools as well. These patches
might fix your problem, but I am not certain about that.
My kernel trees have various other patches as well...you can pick out just
the NFS stuff if you care to. Otherwise, the kernel should generally build,
install, and work the same as upstream kernels.
https://github.com/greearb/nfs-utils-ct
# This one has cleaner patch set, but not much testing.
http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-3.19.dev.y/.git;a=summary
# This is lots of extraneous wifi patches, but has had good testing,
# including the nfs bind-to-local-IP feature.
http://dmz2.candelatech.com/git/gitweb.cgi?p=linux-3.17.dev.y/.git;a=summary
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems mounting via UDP from a netapp with multiple interfaces
2015-04-09 21:08 ` Ben Greear
@ 2015-04-10 18:22 ` Gregory Boyce
2015-04-10 18:45 ` Ben Greear
0 siblings, 1 reply; 10+ messages in thread
From: Gregory Boyce @ 2015-04-10 18:22 UTC (permalink / raw)
To: Ben Greear; +Cc: Linux NFS Mailing List
On Thu, Apr 9, 2015 at 5:08 PM, Ben Greear <greearb@candelatech.com> wrote:
> On 04/09/2015 12:34 PM, Gregory Boyce wrote:
>> Folks,
>>
>> I've been encountering a problem with NFS clients attempting to mount
>> from a netapp via UDP where the netapp is responding on the wrong
>> interface. On some of our older systems, this mount worked properly,
>> while on newer systems nfs-utils ends up failing the mount. Mounting
>> via TCP works fine.
>>
>> It appears that there has been various related discussions over the
>> years, and a relevant Redhat bug opened back in 2006:
>>
>> http://article.gmane.org/gmane.linux.nfs/22778/match=connect+udp
>> https://bugzilla.redhat.com/show_bug.cgi?id=208244
>>
>> Is there a general recommendation for people in this sort of
>> situation? I'm assuming the code is currently using connected UDP
>> sockets (I'm more of a sysadmin than a developer). Is there an option
>> I'm missing to disable this? Otherwise does anyone know of a patch to
>> change the behavior?
>
> I have some patches that allow binding an NFS client to a particular
> local IP. You need modified mount.nfs tools as well. These patches
> might fix your problem, but I am not certain about that.
Re-reading your e-mail, I'm not sure this will help me. The problem
I'm having is that the server sends responses from a different IP
address than I attempted to mount. Your description there seems to be
talking about selecting a local IP address to do the mounting with
instead.
For what it's worth, nfs-utils 1.1.2 was the version that successfully
mounts while 1.2.5 is the one I'm currently struggling with.
--
Greg
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems mounting via UDP from a netapp with multiple interfaces
2015-04-10 18:22 ` Gregory Boyce
@ 2015-04-10 18:45 ` Ben Greear
0 siblings, 0 replies; 10+ messages in thread
From: Ben Greear @ 2015-04-10 18:45 UTC (permalink / raw)
To: Gregory Boyce; +Cc: Linux NFS Mailing List
On 04/10/2015 11:22 AM, Gregory Boyce wrote:
> On Thu, Apr 9, 2015 at 5:08 PM, Ben Greear <greearb@candelatech.com> wrote:
>> On 04/09/2015 12:34 PM, Gregory Boyce wrote:
>>> Folks,
>>>
>>> I've been encountering a problem with NFS clients attempting to mount
>>> from a netapp via UDP where the netapp is responding on the wrong
>>> interface. On some of our older systems, this mount worked properly,
>>> while on newer systems nfs-utils ends up failing the mount. Mounting
>>> via TCP works fine.
>>>
>>> It appears that there has been various related discussions over the
>>> years, and a relevant Redhat bug opened back in 2006:
>>>
>>> http://article.gmane.org/gmane.linux.nfs/22778/match=connect+udp
>>> https://bugzilla.redhat.com/show_bug.cgi?id=208244
>>>
>>> Is there a general recommendation for people in this sort of
>>> situation? I'm assuming the code is currently using connected UDP
>>> sockets (I'm more of a sysadmin than a developer). Is there an option
>>> I'm missing to disable this? Otherwise does anyone know of a patch to
>>> change the behavior?
>>
>> I have some patches that allow binding an NFS client to a particular
>> local IP. You need modified mount.nfs tools as well. These patches
>> might fix your problem, but I am not certain about that.
>
> Re-reading your e-mail, I'm not sure this will help me. The problem
> I'm having is that the server sends responses from a different IP
> address than I attempted to mount. Your description there seems to be
> talking about selecting a local IP address to do the mounting with
> instead.
>
> For what it's worth, nfs-utils 1.1.2 was the version that successfully
> mounts while 1.2.5 is the one I'm currently struggling with.
Ok, I thought maybe you were using two interfaces on your client and the
request was coming down the wrong interface due to the client selecting
the wrong source address when sending the original request.
But if it is purely server-side issue, then yes, my patches are unlikely
to help anything.
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Problems mounting via UDP from a netapp with multiple interfaces
2015-04-09 19:34 Problems mounting via UDP from a netapp with multiple interfaces Gregory Boyce
2015-04-09 21:08 ` Ben Greear
@ 2015-04-10 0:23 ` Trond Myklebust
[not found] ` <CALs61uewbb28BcZ=d_qaYWtvUt5-xLGkn1uMXWhpjb_38f8ZtQ@mail.gmail.com>
2015-04-10 3:09 ` Malahal Naineni
2 siblings, 1 reply; 10+ messages in thread
From: Trond Myklebust @ 2015-04-10 0:23 UTC (permalink / raw)
To: Gregory Boyce; +Cc: Linux NFS Mailing List
On Thu, Apr 9, 2015 at 3:34 PM, Gregory Boyce <gregory.boyce@gmail.com> wrote:
> Folks,
>
> I've been encountering a problem with NFS clients attempting to mount
> from a netapp via UDP where the netapp is responding on the wrong
> interface. On some of our older systems, this mount worked properly,
> while on newer systems nfs-utils ends up failing the mount. Mounting
> via TCP works fine.
>
> It appears that there has been various related discussions over the
> years, and a relevant Redhat bug opened back in 2006:
>
> http://article.gmane.org/gmane.linux.nfs/22778/match=connect+udp
> https://bugzilla.redhat.com/show_bug.cgi?id=208244
>
> Is there a general recommendation for people in this sort of
> situation? I'm assuming the code is currently using connected UDP
> sockets (I'm more of a sysadmin than a developer). Is there an option
> I'm missing to disable this? Otherwise does anyone know of a patch to
> change the behavior?
>
This is a server bug.. Those are not fixable on the client.
Trond
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Problems mounting via UDP from a netapp with multiple interfaces
2015-04-09 19:34 Problems mounting via UDP from a netapp with multiple interfaces Gregory Boyce
2015-04-09 21:08 ` Ben Greear
2015-04-10 0:23 ` Trond Myklebust
@ 2015-04-10 3:09 ` Malahal Naineni
2 siblings, 0 replies; 10+ messages in thread
From: Malahal Naineni @ 2015-04-10 3:09 UTC (permalink / raw)
To: Gregory Boyce; +Cc: linux-nfs
Gregory Boyce [gregory.boyce@gmail.com] wrote:
> Folks,
>
> I've been encountering a problem with NFS clients attempting to mount
> from a netapp via UDP where the netapp is responding on the wrong
> interface. On some of our older systems, this mount worked properly,
> while on newer systems nfs-utils ends up failing the mount. Mounting
> via TCP works fine.
>
> It appears that there has been various related discussions over the
> years, and a relevant Redhat bug opened back in 2006:
>
> http://article.gmane.org/gmane.linux.nfs/22778/match=connect+udp
> https://bugzilla.redhat.com/show_bug.cgi?id=208244
>
> Is there a general recommendation for people in this sort of
> situation? I'm assuming the code is currently using connected UDP
> sockets (I'm more of a sysadmin than a developer). Is there an option
> I'm missing to disable this? Otherwise does anyone know of a patch to
> change the behavior?
Just an FYI, I encountered this issue on user space ganesha NFS server.
Kernel NFS server uses PKTINFO to account for this. I fixed ganesha NFS
server as well to do the same!
Regards, Malahal.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2015-04-17 17:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-09 19:34 Problems mounting via UDP from a netapp with multiple interfaces Gregory Boyce
2015-04-09 21:08 ` Ben Greear
2015-04-10 18:22 ` Gregory Boyce
2015-04-10 18:45 ` Ben Greear
2015-04-10 0:23 ` Trond Myklebust
[not found] ` <CALs61uewbb28BcZ=d_qaYWtvUt5-xLGkn1uMXWhpjb_38f8ZtQ@mail.gmail.com>
2015-04-10 18:45 ` Trond Myklebust
2015-04-10 19:04 ` Gregory Boyce
[not found] ` <CALs61ue2HBxv6bJrGFoDj43vaYc_Jxf4-RJJ-vRBy9j2wn+tXA@mail.gmail.com>
2015-04-14 19:39 ` Gregory Boyce
2015-04-17 17:56 ` Steve Dickson
2015-04-10 3:09 ` Malahal Naineni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.