# Rootdisk full but can't find why

**URL:** <https://forum.virtualmin.com/t/rootdisk-full-but-cant-find-why/55266>\
**Category:** Help! (Home for newbies)\
**Created:** [January 20, 2017, 8:33am UTC](https://forum.virtualmin.com/t/rootdisk-full-but-cant-find-why/55266 "2017-01-20T08:33:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walter81](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/w/b19c9b/32.png) [@Walter81](https://forum.virtualmin.com/u/Walter81)\
**Post date:** [January 20, 2017, 8:33am UTC](https://forum.virtualmin.com/t/rootdisk-full-but-cant-find-why/55266/1 "2017-01-20T08:33:13Z")

</div>

Hi,

My root-disk shows as 99% full. I found out my log file was 43 GB big, so I deleted obsolte logs clearing over 40 GB in data (must enable logrotation ;o). But after that it still shows 99% full

[xxx /]# df -h  
Filesystem Size Used Avail Use% Mounted on  
/dev/mapper/centos\_37–97–189–250-root 50G 50G 6.8M 100% /  
devtmpfs 3.9G 0 3.9G 0% /dev  
tmpfs 3.9G 0 3.9G 0% /dev/shm  
tmpfs 3.9G 8.5M 3.9G 1% /run  
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup  
/dev/vda1 497M 236M 262M 48% /boot  
/dev/mapper/centos\_37–97–189–250-home 246G 18G 229G 8% /home  
tmpfs 783M 0 783M 0% /run/user/1000  
tmpfs 783M 0 783M 0% /run/user/525  
tmpfs 783M 0 783M 0% /run/user/0

But when I try to find the big directories it doesn’t return anything out of the ordinary:  
[\*\*1 /]# du --max-depth=1 -m -x -h /  
44M /etc  
7.0M /root  
12K /tmp  
9.8G /var  
2.0G /usr  
0 /media  
0 /mnt  
0 /opt  
0 /srv  
416K /backups  
12G /

Any advice is appreciated!

---

<div class="post-metadata">

**Author:** ![tpnsolutions](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/tpnsolutions/32/69_2.png) [@tpnsolutions](https://forum.virtualmin.com/u/tpnsolutions)\
**Post date:** [February 13, 2017, 3:24am UTC](https://forum.virtualmin.com/t/rootdisk-full-but-cant-find-why/55266/2 "2017-02-13T03:24:53Z")

</div>

Hi,

I would suggest starting to check the “home” directories for domains you control. If any of them are running “Joomla”, “WordPress”, “Drupal” or other open source software, it’s quite possible one of them were hacked and the hacker is injecting useless files into the filesystem.

If you require assistance investigating the matter, feel free to fire me an email or post further details here.

`
Best Regards,
Peter Knowles
TPN Solutions
Email: pknowles@tpnsolutions.com
`

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:37am UTC](https://forum.virtualmin.com/t/rootdisk-full-but-cant-find-why/55266/3 "2020-04-30T05:37:02Z")

</div>

Closed on April 30, 2020, 5:37am UTC


