DISKWARN blocks ⚠: "/" mounting point (X.X.X.X): 14,86 GB / 19,1 GB - 83,025493%

Makata

Registered
Nov 10, 2019
1
0
1
Nantes
cPanel Access Level
Reseller Owner
Hello,
I received below email, what is the best action i should do?

Code:
Disk Usage Warning



Notification type: warn ⚠

Server: me.meme

Main IP Address: x.x.x.x

File system: /

Mounting point: /

Percentage of use: 83.02%



Using disk blocks: Used: 14,86 GB

Available: 3,24 GB

Total: 19.1 GB



Version of ChkServd: 17.0
Here is what I currently have on my server below, can you help me partition my data because there is a lot of space on / home.
Code:
[[email protected] ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs         16G     0   16G   0% /dev
tmpfs            16G  6.5M   16G   1% /dev/shm
tmpfs            16G  1.6G   15G  11% /run
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/md3         20G   15G  3.3G  83% /
/dev/md2        487M  188M  270M  42% /boot
/dev/md4        1.8T  8.2G  1.7T   1% /home
tmpfs           3.2G     0  3.2G   0% /run/user/0
[[email protected] ~]#
 
Last edited:

GOT

Get Proactive!
PartnerNOC
Apr 8, 2003
1,758
313
363
Chesapeake, VA
cPanel Access Level
DataCenter Provider
I would go into /usr and /var and run this command:

du -h --max=1|grep G

to find your largest fodlers and drill down. Honestly, 20 GB for your root to include /usr and /var is really too small and you will be fighting ongoing issues.

You could consider moving /var/lib/mysql to /home if you have a lot of database usage which will buy you some time.

Moving this is not as simple as JUST moving it, so I would research exactly how to go about this if you end up wanting to do that.

/usr/share is another one you can move and symlink but this usually buys you less than a GB.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Honestly, 20 GB for your root to include /usr and /var is really too small and you will be fighting ongoing issues.

This is 100% true - this is really not enough space, /usr alone should have at the very least 25g

You could consider moving /var/lib/mysql to /home if you have a lot of database usage which will buy you some time.

Moving this is not as simple as JUST moving it, so I would research exactly how to go about this if you end up wanting to do that.
This is definitely an option as @GOT suggests though, it's not as easy as just moving it. There are quite a few resources that describe how to do this but you might get some information from the following: The proper way to move MySQL to a second drive