mount - unknown option rdma
Shirish Pargaonkar
shirishpargaonkar at gmail.com
Fri Feb 8 11:39:40 EST 2008
On 2/8/08, James Lentini <jlentini at netapp.com> wrote:
>
>
> 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.
>
James,
There is a big log on the client but there are hardly any messages
logged on the server.
NFSD: laundromat service - starting
NFSD: laundromat_main - sleeping for 90 seconds
NFSD: laundromat service - starting
NFSD: laundromat_main - sleeping for 90 seconds
NFSD: laundromat service - starting
NFSD: laundromat_main - sleeping for 90 seconds
Just to confirm again,
> On the server:
>
> dmesg -c
> echo 32767 > /proc/sys/sunrpc/rpc_debug
> echo 32767 > /proc/sys/sunrpc/nfsd_debug
>
the value written to nfsd_debug on the server is 32767 and not 65535 right?
More information about the NFSv4
mailing list