Translated message

A translation of this page exists in English.

RHEL7、NFSD: 書き込むためにファイルを開くと EWOULDBLOCK/EAGAIN が返される場合がある

Solution In Progress - Updated -

Issue

NFS サーバー上で書き込むためにファイルを開くと、最初の試行で EWOULDBLOCK/EAGAIN が返される場合があります。

[root@rhel73 ~]# grep -i lease /proc/locks 
24: LEASE  ACTIVE    READ  21013 fc:31:51 0 EOF
[root@rhel73 ~]# cp /5GBshare/kk /5GBshare/testfile
cp: overwrite ‘/5GBshare/testfile’? y
cp: cannot create regular file ‘/5GBshare/testfile’: Resource temporarily unavailable
[root@rhel73 ~]# grep -i lease /proc/locks

open syscall でエラーコードが生成されます。

22132 06:49:55.307716 open("/5GBshare/testfile", O_WRONLY|O_TRUNC)=-1 EAGAIN (Resource temporarily unavailable) <0.001289>

Environment

  • RHEL7.3
  • NFS サーバーで問題が発生

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content