<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
On May 20, 2022, at 06:33, Robert Redl <<a href="mailto:robert.redl@lmu.de" class="">robert.redl@lmu.de</a>> wrote:
<div>
<blockquote type="cite" class=""><br class="Apple-interchange-newline">
<div class="">
<div class="">Dear Lustre Experts,<br class="">
<br class="">
since a few weeks we are keeping two Lustre system synchronous using lustre_rsync. That works fine, but the statuslog file is growing. It is currently about 500MB in size. Updating it is apparently slowing down the whole process.<br class="">
<br class="">
Is it only important to keep the statuslog in cases where lustre_rsync has been interrupted? Or is it necessary to keep it forever in order to not miss any changes.<br class="">
</div>
</div>
</blockquote>
</div>
<div class=""><br class="">
</div>
<div class="">It should be noted that lustre_rsync is not commonly used and only tested in the context of an automated regression test that runs and largely passes.  It was developed originally as a proof of concept for Lustre Changelogs, so may be missing
 support for newer features (e.g. explicit file layouts, project IDs, ACLs, etc, though that *may* all be handled by rsync).  There may be unknown bugs lurking in this code, so use with some caution (i.e. don't sync your bank transaction records with it).</div>
<div class=""><br class="">
</div>
<div class="">I would recommend to at least use some other tool (e.g. MPIFileUtils) to periodically do a full scan to verify that the files are being copied over properly to the target filesystem.</div>
<div class=""><br class="">
</div>
<div class="">Taking a quick look into the lustre_rsync.c, I see that "statuslog" appears to be a log file of pending rename actions, or something like that?  It is backed up when lustre_rsync is started, but only to a file <statuslog>.old.  It looks like an
 entry is added into "parents" if it is renamed to/from a directory that doesn't exist in the target, but I don't know enough detail to say why that isn't working properly in your case.</div>
<div class=""><br class="">
</div>
<div class="">Feedback, patches, and status updates are welcome.  Maybe you can present about your usage of it at LAD this year?  I don't want to totally discourage your usage of lustre_rsync since it has potential for further improvements (e.g. parallel copying,
 bug fixing, etc), otherwise it will never get better, but just wanted to make sure you know what the current state of this tool.<br class="">
<div class=""><br class="">
<div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
<div>Cheers, Andreas</div>
<div>--</div>
<div>Andreas Dilger</div>
<div>Lustre Principal Architect</div>
<div>Whamcloud</div>
<div><br class="">
</div>
<div><br class="">
</div>
<div><br class="">
</div>
</div>
</div>
</div>
</div>
</div>
<br class="Apple-interchange-newline">
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br class="">
</div>
</div>
</body>
</html>