Table of Contents

Error no space left on device in Linux

Check your disk usages using...

df -i

If it is root directory then make sure your tmp and cache directories are not filled.

rm -rf /tmp/*
rm -rf /root/.cache/*

You can also run above command with -h switch to print the disk usage in human readable form as shown below...

df -ih 

Find out the directory which is consuming most of disk space and then dig deeper using du -sh command

Example ...

du -sh /home/abhiphull/*
19M   /home/abhiphull/R
24G   /home/abhiphull/anaconda3
7.2G  /home/abhiphull/dbs

Related Posts

1