On 02/17/2015 08:35 PM, Anton Aylward wrote:
What I'm wondering is this: If I know the overall characteristics of the files in the file system can I set the ratios sensibly?
I don't know of such a tool; however, I've never run into problems because of too few free inodes on normal-sized ext3/4 file systems. Of course, the defaults may be odd for extreme small file systems like 100MB (for testing e.g.), but unless you have a very special use case with extraordinarily many, small files, then you won't have a problem. For example: the 20G "/" file system has automatically been created with 1.3M inodes, while a 800G data partition would take 51M files; look at the inode percentage: df -h --out / /media/sdb5 Filesystem Type Inodes IUsed IFree IUse% Size Used Avail Use% File Mounted on /dev/sda2 ext4 1.3M 296K 985K 24% 20G 9.9G 8.7G 54% / / /dev/sdb5 ext4 51M 1.8M 49M 4% 797G 343G 455G 43% /media/sdb5 /media/sdb5 With more sound, photo and video files, the IUse% is even smaller. If you fear that you'd waste space for never-to-be-allocated inodes, then you could go away from the default. I personally don't think it's worth the trouble - if some basic math is trouble at all. ;-) Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org