I would start by reviewing the “Flash File System Overview” found in the NET+OS API Reference Guide. It provides a wealth of information on setting up and maintaining a file system.
In particular, I would take a look at the settings in fs_param_t. A number of parameters in this struct determine the number of open directories, number of inodes, etc.