How to fix space & inodes 100% issue in ubuntu

We all know that very limited storage we get in linux servers packages. Often linux users face issue of disk space. First you need to login in to your linux terminal to check the allot/free & used space by typing the command below.

df

It will simply show you the table of space consumption.

Then you have to find out what type of files consuming the most space in your disk. Use some commands to find these files and delete it if not useful.

100% Inodes Used Issue

You can check the information about the inodes from your ubuntu shell by typing the command below.

df -i

This command will show you the related information about the inodes free and used and all that. Then try to find out which folder is having the most files inside it. Then delete it all the useless files then your inodes will be free. In most cases linux-headers files have the huge number of files. So delete them all if not useful.