disk space

General support questions
Post Reply
AMYK
Posts: 6
Joined: 2018/06/13 18:01:42

disk space

Post by AMYK » 2018/06/21 21:58:46

Local disk space 72.99 GB used, 73.20 GB total

After trying to update the forums on the site. The whole server overloaded from Ram and Virtual memory. Now the / (Root filesystem) are using 99%.

How I can loacte the folder or the file who took all this space because i have been trying everything.

Thanks

schadfield
Posts: 45
Joined: 2014/12/21 01:03:40

Re: disk space

Post by schadfield » 2018/06/22 05:01:57

I like "ncdu" for jobs like this.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: disk space

Post by avij » 2018/06/22 05:31:01

As root: du -x / | sort -rn | head -20

MartinR
Posts: 714
Joined: 2015/05/11 07:53:27
Location: UK

Re: disk space

Post by MartinR » 2018/06/22 09:25:55

If you can abide graphics there is Baobab which is part of the gnome-utils package. Mine sits under Applications>System Tools>Disk Usage Analyser.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: disk space

Post by TrevorH » 2018/06/22 13:32:34

du -d 1 / then repeat for the directory showing the most space, keep repeating until you drill down to the culprit.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply