Does anyone know if it is possible to re-partition the hard drive on a production server so that /usr is larger?
Currently I have the domlogs directory symlinked to another partition. It is the /usr/local/cpanel directory that is taking up 2.4GB of space.
The current setup is:
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.8G 2.2G 5.2G 30% /
/dev/sda8 198G 136G 53G 73% /home
/dev/sda6 996M 36M 909M 4% /tmp
/dev/sda3 7.8G 6.9G 527M 93% /usr
/dev/sda2 9.7G 7.7G 1.6G 84% /var
/dev/sda1 122M 22M 94M 19% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm
Currently I have the domlogs directory symlinked to another partition. It is the /usr/local/cpanel directory that is taking up 2.4GB of space.
The current setup is:
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.8G 2.2G 5.2G 30% /
/dev/sda8 198G 136G 53G 73% /home
/dev/sda6 996M 36M 909M 4% /tmp
/dev/sda3 7.8G 6.9G 527M 93% /usr
/dev/sda2 9.7G 7.7G 1.6G 84% /var
/dev/sda1 122M 22M 94M 19% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm