Translated message

A translation of this page exists in English.

nfs.service を起動せずに rpc.statd と nfslock を独立したサービスとして起動する方法

Solution In Progress - Updated -

Issue

  • サーバーの再起動後、statd サービスが実行されていないというアラートを受信します。
]# ls -ld /usr/lib/systemd/system/nfs-lock.service
lrwxrwxrwx 1 root root 17 Sep 13 16:05 /usr/lib/systemd/system/nfs-lock.service -> rpc-statd.service
  • rpc-statd および nfslock サービスは両方とも、デフォルトで静的として設定されています。

  • したがって、システムの再起動時に rpc-statd および nfslock サービスが静的であり有効になっていないため、監視システムに statd が動作していないというアラートが表示されます。サーバーの再起動時に rpc-statdnfslock サービスのみを起動し、nfs サービスを起動しないようにします。

  • これは、可能でしょうか?

# systemctl list-unit-files | grep -i nfslock
nfslock.service                               static
# systemctl list-unit-files | grep -i rpc-statd
rpc-statd-notify.service                      static
rpc-statd.service                             static
# systemctl list-unit-files | grep -i nfs.service
nfs.service                                   disabled
# systemctl list-unit-files | grep -i nfs-server
nfs-server.service                            disabled

Environment

  • Red Hat Enterprise Linux 7
  • Systemd
  • ネットワークファイルシステム

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