My system needs a very high number of inodes on the partition because it is going to store many, many small files. (It's going to be an OSM, OpenStreetMap TileServer running mapnik and tirex).
As far I as learnt the number of inodes of a ext4
partition can only be created when formatting with mkfs.ext4 (see answer here). Increasing later is not possible but would require one to reformat (see comment here).
So it's really good to do it right at installation. Is there a way to pass arguments to mkfs.ext4
for mkfs.ext4 -T usage-type /dev/something
? So I could mkfs.ext4 -T news /dev/something
(usage type news
has a lot of inodes).
man mkfs.ext4
under-T
, especially the mention of/etc/mke2fs.conf
, andman mke2fs.conf
does not help? – dirkt Mar 07 '17 at 11:40