/var full - need to resize
I have a cPanel server, and it's been running for over 6 months now. The problem comes now that as we have been collecting logs and installing additional programs, the /var partition has become 100% full.
The problem is, we have to keep all the logs of the server, so deleting them is not an option, basically I need to resize the /var partition.
Now don't get me wrong, Iím no Linux beginner, but I am when it comes to partitioning, so if anyone can help with a step to step tutorial, I would be very grateful.
Really I wish to take some out of the /home (say 4GB) and then add it to the /var partition. Now I understand that it may not be possible to do that, so if it's not, how do I create a partition on the /home one (of 8GB), and move the /var over to the new partition?
root@libre [/]# df
Filesystem 1K-blocks Used Available Use% Mounted on
1548144 379744 1089760 26% /
/dev/sda1 101086 12584 83283 14% /boot
none 225460 0 225460 0% /dev/shm
293702680 19957648 258825764 8% /home
1032088 89516 890144 10% /tmp
8256952 4389464 3448060 57% /usr
2064208 2064208 0 100% /var