> On Mar 1, 2016, at 4:17 PM, John White <jwh...@lbl.gov> wrote:
> 
>       I’m trying to figure out an efficient way to get a global count of 
> objects per idx.  I can do it through an horribly inefficient find + lfs 
> getstripe, but I’d really like to figure out a way not to have to touch the 
> posix layer of lustre to do this.  Any ideas?

What about using “lfs df -i” to get the inode count for each OST?  It wouldn’t 
be exact since there are some inodes that don’t correspond to file objects, but 
if there are large numbers of files on an OST, it might be reasonably close.  
(I guess it depends on just how accurate you need the number to be.)

--
Rick Mohr
Senior HPC System Administrator
National Institute for Computational Sciences
http://www.nics.tennessee.edu

_______________________________________________
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to