This may not be optimal. But I believe this might be good. On my system (with 21 GiB root partition), I was always getting "No space left on device" error while `df -h' was reporting 7 GiB of free space. After further investigation I found that the inode space was filled (df -i).