-1

My /home size is 350 GB and / size is 15 GB. But filling /home with data is filling / also as /home is under /.

Gparted shows that I've used up 58.90 GB of the 350 GB but that's not true.

Here is the screenshot of GParted: enter image description here

Here is the screenshot of 'properties' of '/': enter image description here

Here is the screenshot of 'properties' of /home folder: enter image description here

MarianD
  • 1,028
Interval
  • 35
  • 5
  • 1
    Space in /home maybe mounted on / (all file systems are), however they don't use space on your / partition. My own system sits on a 36gb / partition, my /home is also 30gb, but if I look at what is mounted on my / partition, it's >20TB of file-systems (ie. mostly NFS shares; and my network shares couldn't possibly fit on my 36gb / partition if they used disk space there). I think you're confused, but sorry I don't see where. – guiverc Apr 15 '20 at 12:33
  • The / folder is counting the contents of /home also. So the problem is i get an error message saying the file root system is full and I am unable to install new app or download new data. After moving some data from downloads folder i have freed up some space though but i guess that's not the real solution. – Interval Apr 15 '20 at 12:38
  • Your / partition will get filled by the addition of added software, why I use 36gb (which I often wish was bigger), or you don't do general housecleaning (ie. sudo apt autoremove; sudo apt autoclean) .. 15gb means you'll can't add loads of software packages, esp. snaps ; the recommended size is 25gb (https://help.ubuntu.com/community/Installation/SystemRequirements) so you need to be lean with additional software you add (esp. come release-upgrade time as you need space to download before upgrade.. why 25gb is recommended minimum) – guiverc Apr 15 '20 at 12:41
  • I have performed autoremove and autoclean but it has freed only 1 GB – Interval Apr 15 '20 at 12:42
  • How can i increase the / space? – Interval Apr 15 '20 at 12:48
  • @user535733 it is mounted because Gparted is showing option to unmount when i right-click on the /home tab – Interval Apr 15 '20 at 13:12
  • @user535733 Why is the /home shown as using 58.9 GB when in actual it has only 5GB data? See screenshots above – Interval Apr 15 '20 at 13:14
  • what is the output of du -sh /home (this might take a while)? – pLumo Apr 15 '20 at 13:17
  • Output of du -sh /home: 54G /home – Interval Apr 15 '20 at 13:19
  • 1
    So the output of the file manager is just wrong here and everything is fine. Use something like baobab (Disk usage analyzer) to see where the 54G sits. – pLumo Apr 15 '20 at 13:20
  • That's simply not true. I literally know all the files in the home folder. They add upto only around 5 gb – Interval Apr 15 '20 at 13:21
  • it seems you don't know... – pLumo Apr 15 '20 at 13:29
  • 1
    @pLumo I checked using baobab and the Disk Usage Analyzer windows popped up.It shows a folder named '.bitcoin' consuming 49.3GB space. But i don't have any such folder – Interval Apr 15 '20 at 13:32
  • You have that directory, you just don't see it. Files and directories beginning with . are hidden. – pLumo Apr 15 '20 at 13:43

1 Answers1

0

Everything is in order. Your /home is on a separate partition and does not fill space on /. Your home has 54G of data.

The problem here is, that Nautilus does not count hidden files even if you show them using Ctrl+h. I would consider this a bug, it was already asked before.

You need to go to Preferences and check "Show hidden files"

Show hidden files

Then your directory size in the preferences will be correct.


Regarding your comment: If you have a directory .bitcoin in your home folder that you don't know, check for some unwanted malware processes and bitcoin mining software. If your computer got compromised: How do I deal with a compromised server? (hint: reinstall your system)

pLumo
  • 26,947