mount - unknown option rdma

James Lentini jlentini at netapp.com
Fri Feb 8 10:49:52 EST 2008



On Fri, 8 Feb 2008, Shirish Pargaonkar wrote:

> The output
> 
> client:~ # mount.nfs 1.2.3.131:/ /mnt -i -o rdma,port=2050
> mount.nfs: Connection timed out
> 
> Without -i
> 
> client:~ # mount.nfs 1.2.3.131:/ /mnt -o rdma,port=2050
> mount.nfs: Unsupported nfs mount option: rdma
> 
> If we are invoking mount.nfs explicitly, is -i option needed?

Yes. The -i option to mount.nfs tells it to use the "string" mount 
API. With -i, the -o options will be parsed in the kernel instead of 
userspace.

To debug your connectivity issues, can you turn on NFS/SUNRPC 
debugging and attempt the mount again?

On the server:

dmesg -c
echo 32767 > /proc/sys/sunrpc/rpc_debug
echo 32767 > /proc/sys/sunrpc/nfsd_debug

On the client:

dmesg -c
echo 32767 > /proc/sys/sunrpc/rpc_debug
echo 65535 > /proc/sys/sunrpc/nfs_debug
mount.nfs 1.2.3.131:/ /mnt -i -o rdma,port=2050

and then use dmesg on the client and server to dump the logs.


More information about the NFSv4 mailing list