Re: How many files can I have safely in a subdirectory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Sun, Aug 30, 2009 at 09:00:12 -0700,
  z0diac <web2009@xxxxxxxxxxxxxxx> wrote:
> Someone recently told me to 'keep an eye on it' because certain setups can't
> hold more than X number of files in a single directory. Yet someone else
> said I could have over 1 trillion files in a single directory if the HDD was
> large enough...

When I have directories in the few million range doing mass changes gets
extremely slow.

Besides some the other other things mentioned, you need to worry about the
inode limit on the file system. The default now, is lower than it used to be.
This bit me once when I was moving a directory with lots of files to another
system with a similar size partition when i was expecting a similar inode

Ext3-users mailing list

[Linux RAID]     [Kernel List]     [Red Hat Install]     [Video 4 Linux]     [Postgresql]     [Fedora]     [Fedora Legacy]     [Gimp]     [Yosemite News]     [Linux Software]