Ubuntu: Free space at home partition is not as expected



Question:

Almost all of my free space at home is missing and I have no idea where it is.

df -h  /dev/sda6       1.4G  1.3G   88M  94% /home  

I tried:

sudo tune2fs -m 0 /dev/sda6  Setting reserved blocks percentage to 0% (0 blocks)  /dev/sda6       1.4G  1.3G  163M  89% /home  

But still, it makes no sense to me:

sudo du -sh /home/*  16K     /home/lost+found  297M    /home/nx...  

Checking with the graphical file manager reports 304.7 MB used.

This is a new installation from scratch, Kubuntu 15.04, only a few days old so, pretty much nothing installed. I am using a SSD.

Thanks in advance.


Solution:1

It appears that missing space is due to O.S. not recalling for unused blocks on SSD, easiest way to fix is to mount partition with "discard" option in fstab file.

Restart and force manual trimming with:

sudo fstrim -v /  

Done, you do not need to manual trim again, as O.S. will automatically do it with the new fstab setup


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »