/dev/mapper/VolGroup-lv_root, which is mounted at /, 85% full

big-pete

Member
Apr 21, 2012
14
2
53
cPanel Access Level
Website Owner
Hi,

The last few days or so I've been receiving this notifications ->
The file system /dev/mapper/VolGroup-lv_root, which is mounted at /, has reached warn status because it is 84.88% full.
I've run df -h and this was the result.

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
50G 42G 5.7G 88% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 485M 96M 364M 21% /boot
/dev/mapper/VolGroup-lv_home
1.8T 16G 1.7T 1% /home
/usr/tmpDSK 966M 145M 772M 16% /tmp
I've cleaned tmp files from /var/tmp, but tstill getting the notifications, do I need to resize or change /dev/mapper/VolGroup-lv root??


Any help would be gratefully received :)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
I've cleaned tmp files from /var/tmp, but tstill getting the notifications, do I need to resize or change /dev/mapper/VolGroup-lv root??
Right, the usage is still above the warning threshold based on the "df -h" output. Have you reviewed the /usr and /var directories to see what's taking up most of the space?

Thank you.
 

big-pete

Member
Apr 21, 2012
14
2
53
cPanel Access Level
Website Owner
Thanks for the reply Michael,

I've had a look in both /var and /usr and cannot see any large files,
When I run du -hs /usr /var I get see this
-bash-4.1# du -hs /usr /var
14G /usr
1.2G /var
Yesterday i was finally able to update php from 5.3 to 5.4 and apache from 2.2 to 2.4 as the software for a (video gaming) video share site on the server was finally updated to work with php 5.4, and this morning the result of df -h was

-bash-4.1# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
50G 30G 18G 64% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
/dev/sda1 485M 96M 364M 21% /boot
/dev/mapper/VolGroup-lv_home
1.8T 21G 1.7T 2% /home
/usr/tmpDSK 966M 96M 821M 11% /tmp
dropping from 88% to 64% used.
Is there a command I could run to find the cause of the issue?

Regards
Pete
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello,

It's possible that some previously deleted files were attached to an open process, and that process closed, freeing up the additional space. The following document explains how to examine the source of the disk space usage:

cPanel - Manage HD Space

Thank you.