Translated message

A translation of this page exists in English.

NFS 共有がすでに v4 としてマウントされていると、v3 として再マウントするのに nolock オプションを使用する必要がある

Solution In Progress - Updated -

Issue

NFS 共有がすでに v4 としてマウントされていると、v3 として再マウントするのに nolock オプションを使用する必要があります。マウントしようとすると、次のエラーメッセージが表示されます。

[root@nfs-client ~]# mount /share
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
mount.nfs: an incorrect mount option was specified

重要:

複数の NFS クライアントが読み取り/書き込みアクセスで同じ共有に同時にアクセスする場合は、nolock オプションを使用しないことを強く推奨します。データが破損する可能性があるためです。nolock オプションを使用すると、アプリケーションがファイルをロックできますが、このロックによって排除されるのは、同じクライアントで実行されている他のアプリケーションだけです。リモートアプリケーションはこのロックの影響を受けません。

Environment

  • Red Hat Enterprise Linux 7
  • NAS アプライアンスからエクスポートされた NFS 共有
  • v4 としてマウント済みの 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