One option is to recreate your filesystem specifying bytes-to-inode ratio with -i option.
Backup all of your data to another disk.
List your filesystems and find the one you want to modify:
$ df -hassuming that filesystem is
/dev/sdXand is mounted on/mnt/mountpoint.Unmount that filesystem:
$ umount /mnt/mountpointCreate that filesystem using
mkfs.ext4command specifying-ibyte-to-inode ratio:$ mkfs.ext4 -i 4096 /dev/sdXThis command will create
ext4filesystem with 4 KB per inode ratio (which will create four times more inodes than the default value - 16 KB per inode).Mount that filesystem:
$ mount /dev/sdX /mnt/mountpointReboot to apply previous permissions.