nfs-server.service を起動できません。トランザクションの順序は定期的です。

nfs-server.service を起動できません。トランザクションの順序は定期的です。

オペレーティングシステム:CentOS 7.5 1804

systemctl enable rpcbind
systemctl enable nfs

# /etc/exports

/mnt/FileServer *(insecure,rw,sync,no_root_squash,no_all_squash)

nfsが起動時に起動せず、手動で起動しても失敗します。

systemd[1]:Found ordering cycle on nfs-server.service/start
systemd[1]:Found dependency on mnt-FileServer.mount/start
systemd[1]:Found dependency on nfs-server.service/start
systemd[1]:Breaking ordering cycle by deleting job mnt-FileServer.mount/start

同じ問題を発見しましたhttps://support.oracle.com/knowledge/Oracle%20Cloud/2649787_1.html

ただし、Oracleサポートアカウントはありません。

ベストアンサー1

少し古い内容ですが、さまざまな場所でこの問題がさまざまな方法で扱われているのを見ました。私にとっての鍵はhttps://bbs.archlinux.org/viewtopic.php?id=183999または、より具体的には以下を追加しDefaultDependencies=Falseてください。/usr/lib/systemd/system/nfs-client.target

おすすめ記事