[Lustre-discuss] Inode count differences between client and MDS

Oleg Drokin Oleg.Drokin at Sun.COM
Fri Apr 11 08:29:52 PDT 2008


Hello!

On Apr 11, 2008, at 3:48 AM, Jakob Goldbach wrote:
>> The inode count you get on the client side also takes into account  
>> the
>> number of inodes available on the OSTs and the default stripe count.
> The stripecount is 1. (from /proc/../lov/../stripecount) - The OSTs  
> have
> plenty ~400M inodes. The MDT has about ~200M (from tune2fs -l /dev/ 
> mdt).
> Still, only 75M show up on the client.

There is another variable to this - we look at amount of free blocks  
(in assumption
of every file taking at least one block) and decrease avail number of  
inodes
if there are not enough free blocks to cover available inodes.

> And even stranger - when creating new files - both used count AND
> avail-count increases. (see below)

Because they are empty files, so they don;t consume any blocks yet.
What if you create them nonempty?

Bye,
     Oleg



More information about the lustre-discuss mailing list