<div dir="ltr">Hello <span style="font-family:arial,sans-serif;font-size:12.800000190734863px">Andreas, sorry for the late reply. As you suggested it was a matter of sync_permissions. After disabling sync_permission recursive chmod and chown operations are taking "normal" time to complete. Thank you very much for the info. On a separate but somehow close issue, can you suggest any tuning on speeding up "</span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">stat</span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">" and "</span><span style="font-family:arial,sans-serif;font-size:12.800000190734863px">listdir</span><font face="arial, sans-serif">" operations. We are using a python script, which go es thru  a folder structure with a lot of files and dirs. It uses "os.listdir", which is essentially posix ls. I`ve read in the manual about directory statahead and agl. I`ll try later today or tomorrow playing with the window size. Also a simple "time lfs ls" shows faster execution time than "time ls", so I`ll probably have to talk with the dev guy about implementing "lfs ls" instead the posix ls. </font><div>
<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Cheers,</font></div><div><font face="arial, sans-serif">Nikolay<br></font><div><font face="arial, sans-serif"><br></font></div></div></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 20, 2013 at 6:12 PM, Dilger, Andreas <span dir="ltr"><<a href="mailto:andreas.dilger@intel.com" target="_blank">andreas.dilger@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="auto">
<div>You didn't mention which version of Lustre you are using, but this is probably related to <a href="https://jira.hpdd.intel.com/browse/LU-3671" target="_blank">https://jira.hpdd.intel.com/browse/LU-3671</a><br>
<br>
Cheers, Andreas</div><div><div class="h5">
<div><br>
On 2013-08-20, at 1:08, "Nikolay Kvetsinski" <<a href="mailto:nkvecinski@gmail.com" target="_blank">nkvecinski@gmail.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hello guys, 
<div><br>
</div>
<div>does anyone of you have problems with chown and chmod operations taking extremely long time to complete. For example chown on 200 MB folder is taking minutes. The MDS is not loaded at all. All other operations (file read and write)  seem to be doing fine.</div>

<div><br>
</div>
<div>Any help is greatly appreciated. </div>
</div>
</div>
</blockquote>
</div></div><blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Lustre-discuss mailing list</span><br>
<span><a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a></span><br>
<span><a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a></span><br>
</div>
</blockquote>
</div>

</blockquote></div><br></div>