Ask Your Question

low disk space on "filesystem root"

asked 2013-03-02 13:20:35 -0500

saintnoah gravatar image

updated 2014-09-29 00:14:15 -0500

mether gravatar image

I have the warning says low disk space on "filesystem root".

I use df -h to check, and the output is like this:

Filesystem      Size  Used Avail Use% Mounted on
rootfs          5.0G  4.5G  195M  96% /
devtmpfs        5.9G     0  5.9G   0% /dev
tmpfs           5.9G  240K  5.9G   1% /dev/shm
tmpfs           5.9G  804K  5.9G   1% /run
/dev/sda12      5.0G  4.5G  195M  96% /
tmpfs           5.9G     0  5.9G   0% /sys/fs/cgroup
tmpfs           5.9G     0  5.9G   0% /media
/dev/sda9       194M   78M  107M  43% /boot
/dev/sda11       20G  311M   19G   2% /usr/local
/dev/sda10       30G  2.2G   26G   8% /home
/dev/sda13      2.0G  725M  1.2G  38% /var
/dev/sda15     1007M   18M  939M   2% /tmp

What should I do to free some space in rootfs? Thank you

edit retag flag offensive close merge delete


you should use LVM

The IceMan Blog gravatar imageThe IceMan Blog ( 2013-03-02 16:37:27 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted

answered 2013-03-02 19:31:53 -0500

ThomasMcA gravatar image

The free space is probably being used up by multiple kernel versions. You only need one to run the system, but it is handy to keep older versions in case the current one stops working (which does happen.) Run this command to see how many you have:

rpm -q kernel

To remove older kernels, run this command:

sudo yum remove kernel-version

You can also configure your system to only keep a specific number of kernels. Once this is enabled, future kernel updates will automatically remove older kernels. To do that, update /etc/yum.conf, and modify this line to the number that you want to keep. If you change that to 2, you will have 1 backup version (I have never needed more than that.)

edit flag offensive delete link more


There is a separate /boot partition so all the kernels are there.

jmt gravatar imagejmt ( 2013-03-02 21:09:36 -0500 )edit

answered 2013-03-02 18:08:32 -0500

jmt gravatar image

You seem to have an unused /usr/local partition which is conveniently located between the partitions / and /home.

/dev/sda10 30G 2.2G 26G 8% /home
/dev/sda11 20G 311M 19G 2% /usr/local
/dev/sda12 5.0G 4.5G 195M 96% /

You could delete that /usr/local partition and expand the / partition, but since it is located after the empty space, this is a bit tricky. You could use something like Gparted LiveCD ( to move and resize the / partition.

After this operation the names of the partitions after sda10 will change so you might have to adjust you /etc/fstab.

edit flag offensive delete link more


Can I just delete /usr/local partition? since using Gparted LiveCD is kinda complicated and I am trying to take a easier method to free some space. Thank you so much for your reply.

saintnoah gravatar imagesaintnoah ( 2013-04-15 21:11:23 -0500 )edit

answered 2013-03-02 16:08:56 -0500

sideburns gravatar image

Download,install and use bleachbit: The first time you run it, you'll have, if I'm not mistaken, the chance to download both some extras and a version that runs as Administrator (i.e., root). Get all of that. (You should see two new entries on your System menu.) Running it as a normal user will let you clean up a remarkable amount of cruft in your own files, including browser catches and so on, although I'd suggest that you exit such programs first. Running it as Admin, of course, requires the appropriate password. This will allow you to clean up lots and lots of stuff on your root file system that you can't otherwise touch, and it's quite possible that this is all you'll need.

edit flag offensive delete link more

Question Tools


Asked: 2013-03-02 13:20:35 -0500

Seen: 13,927 times

Last updated: Mar 03 '13