JustSomeGuy

Active Member
Oct 13, 2007
31
0
56
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
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

While it may be possible to partition your server manually, it's likely safer to migrate the accounts to a new system that is partitioned to your preference. Partition changes should be handled by your data center, or a qualified system administrator that has physical access to your system.

To note, you are encouraged to use the recommended partition scheme listed at:

cPanel Installation - Recommended Partitions

Thank you.