[CentOS] CentOS7 and NFS

Thu Jul 9 10:11:49 UTC 2020
Patrick Bégou <Patrick.Begou at legi.grenoble-inp.fr>

Hi Orion,

no, I still have this problem. I delay working on it as I the latest
updates have not been installed on the server and on the client. I'll
work again on this problem as soon as possible.

Thanks Charles for your detailed information on how to track this
problem. I'll check all these metrics.

I have several clients for this nfs server and the problem seems only to
occur from the client using nfs 4.1 in CentOS Linux release 7.7.1908 (Core).
The default options used are:
rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=194.254.xx.xx,local_lock=none,addr=194.254.yy.yy

On olders clients (Red Hat Enterprise Linux Server release 6.7
(Santiago)) default options are:
rw,intr,hard,sloppy,vers=4,addr=194.254.xx.xx,clientaddr=194.254.yy.yy

The server in CentOS7.6.1810

Will see if the latest updates help to solve the problem.

Patrick

Le 03/07/2020 à 00:05, Orion Poplawski a écrit :
> On 6/1/20 3:08 AM, Patrick Bégou wrote:
>> Le 13/05/2020 à 02:13, Orion Poplawski a écrit :
>>> On 5/12/20 2:46 AM, Patrick Bégou wrote:
>>>> Hi,
>>>>
>>>> I need some help with NFSv4 setup/tuning. I have a dedicated nfs
>>>> server
>>>> (2 x E5-2620  8cores/16 threads each, 64GB RAM, 1x10Gb ethernet and
>>>> 16x
>>>> 8TB HDD) used by two servers and a small cluster (400 cores). All the
>>>> servers are running CentOS 7, the cluster is running CentOS6.
>>>>
>>>> Time to time on the server I get:
>>>>
>>>>        kernel: NFSD: client xxx.xxx.xxx.xxx testing state ID with
>>>>       incorrect client ID
>>>>
>>>> And the client xxx.xxx.xxx.xxx freeze whith:
>>>>
>>>>        kernel: nfs: server xxxxx.legi.grenoble-inp.fr not responding,
>>>>       still trying
>>>>        kernel: nfs: server xxxxx.legi.grenoble-inp.fr OK
>>>>        kernel: nfs: server xxxxx.legi.grenoble-inp.fr not responding,
>>>>       still trying
>>>>        kernel: nfs: server xxxxx.legi.grenoble-inp.fr OK
>>>>
>>>> There is a discussion on RedHat7 support about this but only open to
>>>> subscribers. Other searches with google do not provide  useful
>>>> information.
>>>
>>> FYI - you can get access to such info with a free RHEL developers
>>> account.
>>>
>>>
>> Thanks for your suggestion. As the problem is back I've subscribed to
>> reach the full content of this discussion.
>>
>> The answer was "do not use antivirus" :-(. I do not use antivirus as I
>> am CentOS only.
>>
>> Patrick
>>
>
> Just curious to see if you have had any luck resolving these issues?
> I'm afraid that NFS on EL 7 has become much less stable for us
> recently as well with lots more client access hangs.
>
> Orion
>