Disk Space Warning on /dev/sda5 (var) I realize i always get such problem, some part of my server are having a lot spaces and not used. I wanna ask how do i like set how much disk space i wanna give e.g /dev/sda1(home) and how much i wanna give to /dev/sda5 Can anyone give me the line/guide to set in SSH or WHM etc. Regards and Thanks, Baoky
This the statistic i get from df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda7 2030736 548684 1377232 29% / /dev/sda8 107648932 15001956 87090496 15% /home /dev/sda6 2030736 38664 1887252 3% /tmp /dev/sda5 10153988 8589060 1040812 90% /var /dev/sda2 10154020 4952416 4677484 52% /usr /dev/sda1 194442 20226 164177 11% /boot tmpfs 4087176 0 4087176 0% /dev/shm If you did realize that /home got a lot spaces, how do i lower /home disk space to /var Regards, Baoky
Hello Baoky, You cannot resize the partition now. The partition should be set during OS installation. You can cleanup the space from /var partition by removing unwanted logs from /var/log directory. Also, if you have large MySQL databases, I suggest to change MySQL location from /var/lib/mysql to other location (say /home/mysql). If you do not have good technical skill, I suggest you to hire an admin to take care of this because a single mistake may crate a problem (probably data loss) to move your MySQL location. Kailash
Hi, Usually, /var fills quickly due to logs that genrates in server. You should keep tracks of logs and remove those time to time by keeping current logs. Thanks...