<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Thank you Rick.<div><br></div><div>I followed these steps for the ldiskfs OSTs and MDT, but the quotes for all users is more corrupted than before.</div><div><br></div><div>I tried to run e2fsck in ldiskfs OSTs MDT, but the problem was the MDT e2fsck ran very slow ( 10 inodes per second for more than 100 million inodes).</div><div><br></div><div>According to the lustre wiki I though that the lfsck could repair corrupted quotes:</div><div><br></div><div><a href="http://wiki.lustre.org/Lustre_Quota_Troubleshooting">http://wiki.lustre.org/Lustre_Quota_Troubleshooting</a></div><div><br></div><div>Regards.<br><br><div id="AppleMailSignature" dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">============================================</span><div><span style="background-color: rgba(255, 255, 255, 0);">Fernando Pérez<br>Institut de Ciències del Mar (CSIC)<br>Departament Oceanografía Física i Tecnològica<br>Passeig Marítim de la Barceloneta,37-49<br>08003 Barcelona<br>Phone:  <a href="tel:(+34)%2093%20230%2096%2035" x-apple-data-detectors="true" x-apple-data-detectors-type="telephone" x-apple-data-detectors-result="0">(+34) 93 230 96 35</a><br>============================================</span></div></div><div dir="ltr"><br>El 16 abr 2019, a las 15:34, Mohr Jr, Richard Frank (Rick Mohr) <<a href="mailto:rmohr@utk.edu">rmohr@utk.edu</a>> escribió:<br><br></div><blockquote type="cite"><div dir="ltr"><span></span><br><blockquote type="cite"><span>On Apr 15, 2019, at 10:54 AM, Fernando Perez <<a href="mailto:fperez@icm.csic.es">fperez@icm.csic.es</a>> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Could anyone confirm me that the correct way to repair wrong quotes in a ldiskfs mdt is lctl lfsck_start -t layout -A?</span><br></blockquote><span></span><br><span>As far as I know, lfsck doesn’t repair quota info. It only fixes internal consistency within Lustre.</span><br><span></span><br><span>Whenever I have had to repair quotas, I just follow the procedure you did (unmount everything, run “tune2fs -O ^quota <dev>”, run “tune2fs -O quota <dev>”, and then remount).  But all my systems used ldiskfs, so I don’t know if the ZFS OSTs introduce any sort of complication.  (Actually, I am not even sure if/how you can regenerate quota info for ZFS.)</span><br><span></span><br><span>--</span><br><span>Rick Mohr</span><br><span>Senior HPC System Administrator</span><br><span>National Institute for Computational Sciences</span><br><span><a href="http://www.nics.tennessee.edu">http://www.nics.tennessee.edu</a></span><br><span></span><br></div></blockquote></div></body></html>