[Lustre-discuss] chmod and chown

Nikolay Kvetsinski nkvecinski at gmail.com
Thu Aug 22 13:02:54 PDT 2013


Hello 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 "stat" and "listdir" 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.

Cheers,
Nikolay



On Tue, Aug 20, 2013 at 6:12 PM, Dilger, Andreas
<andreas.dilger at intel.com>wrote:

>  You didn't mention which version of Lustre you are using, but this is
> probably related to https://jira.hpdd.intel.com/browse/LU-3671
>
> Cheers, Andreas
>
> On 2013-08-20, at 1:08, "Nikolay Kvetsinski" <nkvecinski at gmail.com> wrote:
>
>   Hello guys,
>
>  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.
>
>  Any help is greatly appreciated.
>
>  _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20130822/0a5a1941/attachment.htm>


More information about the lustre-discuss mailing list