<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi,</div>
<div id="appendonsend"></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
My initial copy from old lustre to new lustre was with rsync, using this syntax:</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
SOURCE="/lustre/workgroups" DEST="${SOURCE#/lustre/}" && find "$SOURCE" -maxdepth 1 -mindepth 1 -type d | xargs -t -n1 -P6 -I% rsync -aPA --delete-during % "/mnt/lustre_new/$DEST"</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I do indeed need to copy the linux ACL's</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
But when debugging the issue, I used files without any extended attributes, from other filesystems than lustre.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Just enabling DoM with "lfs setstripe -E 1M -L mdt -E -1 -c 1 /mnt/lustre_new/dom" will disable compression on the OST's. (dom_stripesize is set to 1048576)</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I'm thinking about trying 2.15.1 on the new servers...</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Martin Balvers</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<b>From:</b> Vicker, Darby J. (JSC-EG111)[Jacobs Technology, Inc.] <darby.vicker-1@nasa.gov><br>
<b>Sent:</b> Monday, July 28, 2025 16:57<br>
<b>To:</b> BALVERS Martin <Martin.BALVERS@danone.com>; lustre-discuss <lustre-discuss@lists.lustre.org><br>
<b>Subject:</b> Re: [EXTERNAL] [BULK] [lustre-discuss] No ZFS compression on OST's when using PFL
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<table style="border-width: 3px; border-style: solid; border-color: rgb(255, 0, 51); background-color: rgb(255, 251, 224); width: 100%; box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="line-height: 1; padding: 4px 8px; color: rgb(0, 0, 0);" align="center">
<div style="line-height: 1; font-size: 11px;"><b>WARNING - EXTERNAL SENDER - BE CYBERSAFE</b></div>
</td>
</tr>
</tbody>
</table>
<div><br>
</div>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt;">I’m not sure if this is related to your problem but you need to be careful when copying data between two lustre filesystems.  If you use something that copies
 the extended attributes (e.g. rsync -X), you can copy the lustre xattrs, which is probably not what you want.  This will override the PFL you have on the new lustre FS.  You can either not copy the extended attributes (which isn’t a great option if you are
 using ACL’s or other xattrs) or use a lustre-aware tool like mpifileutils. </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt;"> </span></p>
<div id="x_mail-editor-reference-message-container">
<div style="padding: 3pt 0in 0in; border-top: 1pt solid rgb(181, 196, 223);">
<p style="margin: 0in 0in 12pt; font-family: Aptos, sans-serif; font-size: 10pt;">
<span style="font-size: 12pt; color: black;"><b>From: </b>lustre-discuss <lustre-discuss-bounces@lists.lustre.org> on behalf of BALVERS Martin via lustre-discuss <lustre-discuss@lists.lustre.org><br>
<b>Date: </b>Friday, July 25, 2025 at 7:07</span><span style="font-family: Arial, sans-serif; font-size: 12pt; color: black;"> </span><span style="font-size: 12pt; color: black;">AM<br>
<b>To: </b>lustre-discuss <lustre-discuss@lists.lustre.org><br>
<b>Subject: </b>[EXTERNAL] [BULK] [lustre-discuss] No ZFS compression on OST's when using PFL</span></p>
</div>
<table style="border-width: 1.5pt; border-style: solid; border-color: black; box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;" cellpadding="0" cellspacing="0" align="left">
<tbody>
<tr>
<td style="background-color: rgb(255, 235, 156); padding: 3.75pt; width: 100%;">
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="color: black;"><b>CAUTION:</b></span><span style="font-size: 12pt; color: black;">
</span><span style="color: black;">This email originated from outside of NASA.  Please take care when clicking links or opening attachments.  Use the "Report Message" button to report suspicious messages to the NASA SOC.</span></p>
</td>
</tr>
</tbody>
</table>
<p style="margin: 0in 0in 12pt; font-family: Aptos, sans-serif; font-size: 10pt;">
<span style="font-size: 12pt;"><br>
<br>
</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">Hi,</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">I am using a lustre 2.15.1 cluster with PFL. I'm using the following layout:</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">lfs setstripe -E 1M -L mdt -E 128M -c 1 -S 4M -E 2G -c 2 -z 64M -E -1 -c -1 -z 256M /lustre</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">OST's have zpools with zstd compression enabled.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">This has worked fine for me for many years.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">I now have new servers and installed 2.16.1 on them. I used the same PFL layout, and after some benchmarking I proceeded to copy data from
 the old lustre to the new.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">After a while I noticed that it was filling up faster that expected, and say that the compression ratio on the zpools was 1.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">Compression on the zpools is enabled, it should have worked as far as I can tell.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">When I disable PFL, compression works as expected.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">I have attached the some results in a txt file.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">I have also tried 2.15.7 with the same results. Enabling PFL, or just DoM disables compression on the OST's.</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">Am I missing something obvious here? </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;"> </span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">Regards,</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 11pt; color: black;">Martin Balvers</span></p>
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 10pt;"><span style="font-size: 12pt;">Ce message électronique et tous les fichiers attachés qu'il contient sont confidentiels et destinés exclusivement à l'usage de la personne à laquelle ils
 sont adressés. Si vous avez reçu ce message par erreur, merci de le retourner à son émetteur. Les idées et opinions présentées dans ce message sont celles de son auteur, et ne représentent pas nécessairement celles de DANONE ou d'une quelconque de ses filiales.
 La publication, l'usage, la distribution, l'impression ou la copie non autorisée de ce message et des attachements qu'il contient sont strictement interdits.<br>
<br>
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual to whom it is addressed. If you have received this email in error please send it back to the person that sent it to you. Any views or opinions presented
 are solely those of its author and do not necessarily represent those of DANONE or any of its subsidiary companies. Unauthorized publication, use, dissemination, forwarding, printing or copying of this email and its associated attachments is strictly prohibited.</span></p>
</div>
</body>
</html>