2013/2/19 Keith <ke...@scott-land.net>: > Q. How do I make the default web folder /var/www/ capable of holding > millions of files (say 50GB worth of small 2kb-12kb files) so that I won't > get inode issues ?
Since you probably aren't going to have 50G/2k number of files in a single dir, then you'd be wise to make several filesystems for the directories you have there, especially for the fsck reasons mentioned by others in this thread. Fsck'ing 10 5G fs:es with lots of inodes will be far more fun than one of 50G in size. And chances are quite big that not all of those 10 will have issues even on unclean shutdowns, so you would be able to skip over a few in such an event. -- May the most significant bit of your life be positive.