This is NFS client version. So, it is not ganesha which is incompatible. NFS kernel client had bugs which were resolved. So, kind of had to find out the right kernel version that supports NFS4.1 mounts by trial and error.

 

- Sriram

 

From: QR <zhbingyin@sina.com>
Reply-To: "zhbingyin@sina.com" <zhbingyin@sina.com>
Date: Sunday, March 17, 2019 at 12:28 PM
To: Sriram Patil <sriramp@vmware.com>, Jeff Layton <jlayton@redhat.com>, ganesha-devel <devel@lists.nfs-ganesha.org>
Subject:
回复:Re: [NFS-Ganesha-Devel] Re: Input/output error on CentOS7.2 with nfs4.1

 

Hi Sriram,

Is there any document about which kernel version ganesha supports for using NFSv4.1 mounts?

 

--------------------------------

 

 

----- 原始 -----
件人:Sriram Patil <sriramp@vmware.com>
收件人:Jeff Layton <jlayton@redhat.com>, "zhbingyin@sina.com" <zhbingyin@sina.com>, ganesha-devel <devel@lists.nfs-ganesha.org>
Re: [NFS-Ganesha-Devel] Re: Input/output error on CentOS7.2 with nfs4.1
日期:20190317 1023


Yes, you need centos kernel version >= 3.10.0-514 for using NFSv4.1 mounts.
- Sriram
On 3/16/19, 5:53 PM, "Jeff Layton" <jlayton@redhat.com> wrote:
On Sat, 2019-03-16 at 16:14 +0800, QR wrote:
> We are getting "Input/output error" when reading regular files on CentOS7.2 with nfs4.1(4.0 is ok).
> Is anyone know about this?
> Thanks in advance.
>
> Ganesha server info
> kernel version : 3.10.0-693.17.1.el7.x86_64(CentOS 7.5.1804)
> ganesha version: 3bd444c9706e02b778343c9787a7ce3411a5ce61(V2.8-dev.22)
> FSAL : gluster
> nfs client info
> kernel version : 3.10.0-327.el7.x86_64(CentOS 7.2.1511)
> nfs version : nfs4.1
> mount options : rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=XXX,local_lock=none,addr=YYY


I'd suspect a bug in the client with a kernel that old. You may want to
update the kernel on the client and test again.

--
Jeff Layton <jlayton@redhat.com>
_______________________________________________
Devel mailing list -- devel@lists.nfs-ganesha.org
To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org