High usage in / Directory
So I am getting a high usage on /
Do you think 25GB is enough for / directory?
Is something causing the high usage?
Do MySQL databases sit in / directory?
Is there a way where that could be moved to another physical hard drive?
Filesystem Size Used Avail Use% Mounted on
/dev/md126 25G 25G 462M 99% /
devtmpfs 24G 0 24G 0% /dev
tmpfs 24G 0 24G 0% /dev/shm
tmpfs 24G 59M 24G 1% /run
tmpfs 24G 0 24G 0% /sys/fs/cgroup
/dev/md124 856G 258G 598G 31% /home
/dev/md127 1021M 231M 790M 23% /boot
tmpfs 4.7G 0 4.7G 0% /run/user/0
-
Yes the way you have things set up everything except home is in /. That's your databases, cpanel code files all os files etc. How big that should be is highly variable at this point but I'd say youd at least want 10% of your space there so in the 80 GB range. 0 -
I Agree in this instance with @GOT with your filesystem configuration you need much more space in / - you might even consider more than 80GB depending on whether or not you plan on storing backups on /, how often you want to rotate logs, are you planning on keeping MySQL on that partition etc. Do MySQL databases sit in / directory?
MySQL databases typically reside in /var/lib/mysql which is in the directory structure under / so the answer in your case is yes.Is there a way where that could be moved to another physical hard drive?
It is possible to move the MySQL datadir we have a few tutorials on that in the forums such as0
Please sign in to leave a comment.
Comments
2 comments