[lustre-discuss] Why certain commands should not be used on Lustre file system

Prakrati.Agrawal at shell.com Prakrati.Agrawal at shell.com
Tue Feb 9 20:16:14 PST 2016


I read on Lustre best practices that ls -U should be used instead of ls -l . I understand that ls -l makes MDS contact all OSS to get all information about all files and hence loads it. But, what does ls -U do to avoid it?

Also, it is said that rm-rf * should not be used. Please can someone explain the reason for that.

It is also said that instead lfs find  <directory path> --type f -print0 | xargs -0 rm -f should be used. Please explain the reason for this also.

Thanks and Regards,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20160210/41e1902a/attachment.htm>

More information about the lustre-discuss mailing list