Web lists-archives.com

Re: Re: session trunking with NFS




	Hi.

On Wed, Jun 27, 2018 at 10:32:25AM +0200, Stefan K wrote:
> Hi,
> 
> today i tried it, but it didn't work:
> on my nfs-test system I use the 2x1GB interfaces
> showmount -e <NFS-IP1>
> and
> showmount -e <NFS-IP2>
> shows me the exports
> so now i mount the nfs-share on a server with 10G Interfaces(bond), when i mount it with the second NFS-IP, I got an error "mount.nfs: mount(2): Device or resource busy"

>From a quick look to a Debian kernel source version 4.9.88 I conclude
that Multipath NFS feature is definitely included there.
The sources have all XPRTMULTIPATH defines, NFS client has
xprtmultipath.c file included, etc.
What I cannot find (and probably won't look into it) is whenever the
feature can be disabled during the compilation.
So, it should work, as long as client uses NFS protocol version 4.1 or
later. 

The crucial implementation detail seems to be the need to use TCP to
mount NFS share, not the default UDP.

Reco