<html><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-size: 14px; font-family: "Microsoft YaHei UI"; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><br><span></span></div><div><span style="color: rgb(6, 6, 7); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, "Segoe UI", Arial, Roboto, "PingFang SC", MIUI, "Hiragino Sans GB", "Microsoft YaHei", sans-serif; letter-spacing: 0.25px; white-space: pre-wrap;">Thank you for your advice.</span></div><div><br></div><div><div>The reason I understand is as follows: </div><div>During reboot, both the system and Pacemaker will unmount the Lustre resource simultaneously. </div><div>If the system unmounts first and Pacemaker unmounts afterward, Pacemaker will immediately return success. </div><div>However, at this point, the system's unmounting process is not yet complete, </div><div>causing Pacemaker to mount on the target end, which triggers this issue.</div><div><br></div><div>My current modification is as follows: </div><div>Add the following lines to the file `/usr/lib/systemd/system/resource-agents-deps.target`:</div><div>```</div><div>After=remote-fs.target </div><div>Before=shutdown.target reboot.target halt.target</div><div>```</div><div><br></div><div>After making this modification, the issue no longer occurs during reboot.</div></div><div><br></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>chenzufei@gmail.com</div></div></span></div>
<blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em; margin-Right: inherit"><div> </div><div>
</div></blockquote>
</body></html>