I’m trying to find the best way to store lots of small files on a volume, without hitting the inode limits. I created a new drive with:
sudo mkfs.ext4 -N 100000000 /dev/device
and this correctly shows:
/dev/device 100040704 13929894 86110810 14% /mnt/websites2
However, it seems to have made a fair hit to the speed for read/writes on that drive. I was doing some research, and came across:
sudo mkfs.ext4 -T largefile /dev/device
What is the option for “small files”? I can’t seem to find any documentation on what the values of
-T can be? Also – any other suggestions on how to configure a drive for LOTS of small files (~3-10kb each), would be much appreciated!