Maximum number of inodes in a directory? [closed] Maximum number of inodes in a directory? [closed] unix unix

Maximum number of inodes in a directory? [closed]


df -i should tell you the number of inodes used and free on the file system.


Try ls -U or ls -f.

ls, by default, sorts the files alphabetically. If you have 2 million files, that sort can take a long time. If ls -U (or perhaps ls -f), then the file names will be printed immediately.


No. Inode limits are per-filesystem, and decided at filesystem creation time. You could be hitting another limit, or maybe 'ls' just doesn't perform that well.

Try this:

tune2fs -l /dev/DEVICE | grep -i inode

It should tell you all sorts of inode related info.