Hi,

I have a query regarding the file metadata stored in MDS/MDT.

I am trying to understand what information would be normally present in Inode EA attributes for a directory (not file). I tried searching for it but could not find much information.
 
- When a new file is created, MDS would create a new FID with EA attributes. File EA given to client would contain objects on which the data would be written and their corresponding OSTs. (This ensures separation of metadata from actual data since now the client can write directly to OSTs without contacting MDS)

- I would like to know what happens similarly when a new directory is created. Does MDS also allocate objects and their corresponding OSTs (considering the directory data is nothing but it's containing filenames and their inode numbers)

Could you please help me in clarifying the above query and also correct me if I'm misinterpreting some information.

Regards,
Akhilesh.