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

Oleg Drokin Oleg.Drokin at Sun.COM
Sun Apr 13 16:46:18 PDT 2008


Hello!

On Apr 13, 2008, at 6:19 PM, Jakob Goldbach wrote:
>> 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.
> I can see that the avail blocks on the MDS is close to avaiable onode
> count - There is a low more on the OSS'es

Hm, looking at the code - indeed, we do this with MDS too, here is the
relevant comment:
  * We need to hack the return value for the free inode counts because
  * the current EA code requires one filesystem block per inode with  
EAs,
  * so it is possible to run out of blocks before we run out of inodes.
  *
  * This can be removed when the ext3 EA code is fixed.

This is no longer totally true, and only true if you have very wide
striping that does not fit into reserved EA space in inode.

Is this under-reporting breaking anything for you, I wonder?

Bye,
     Oleg



More information about the lustre-discuss mailing list