[Lustre-discuss] How to efficiently get sizes of all files stored in Lustre?

Marcin Barczyński mba.lustre.2014 at gmail.com
Tue Sep 16 07:41:20 PDT 2014


Hello,

I would like to efficiently get sizes of all files stored in Lustre
filesystem.

My first idea was to use Lester, the Lustre lister, and
1) obtain all FIDs of all files from MDT (lester -A fslist -a format=lustre
-a show_fid MDT_DEVICE)
2) then scan all OSTs with the same command,
3) and finally match FIDs, and compute file sizes.

Unfortunately, FIDs on MDT are different from FIDs on OSTs. Why is it so?

Is there any way to get sizes of all files efficiently?

-- 
Best regards,
Marcin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20140916/85fbd866/attachment.htm>


More information about the lustre-discuss mailing list