ImperialTrader

Well-Known Member
Aug 31, 2014
196
21
68
Egypt
cPanel Access Level
Root Administrator
My primary disk partition becomes full, so I attached another disk partition.
Now I would like to merge the 2 partitions to become 1 partition only without deleting the primary disk partition because it's holding all my customers' accounts.
 

Attachments

rackaid

Well-Known Member
Jan 18, 2003
89
28
168
Jacksonville, FL
cPanel Access Level
DataCenter Provider
I doubt you can easily merge these partitions. Even if you could, I am not sure I would risk it on a production server. The issue is that the full partition is your root partition and re-sizing the root partition may have to be done offline and by your host. The method varies depending on the virtualization software in use.

Unless you have a large number of accounts, why not migrate to a new VPS with a larger disk?

If you don't want to migrate, consider moving /home and /var/lib/mysql to your new disk. You can then delete them from main disk, freeing up space.
 

ImperialTrader

Well-Known Member
Aug 31, 2014
196
21
68
Egypt
cPanel Access Level
Root Administrator
I doubt you can easily merge these partitions. Even if you could, I am not sure I would risk it on a production server. The issue is that the full partition is your root partition and re-sizing the root partition may have to be done offline and by your host. The method varies depending on the virtualization software in use.

Unless you have a large number of accounts, why not migrate to a new VPS with a larger disk?

If you don't want to migrate, consider moving /home and /var/lib/mysql to your new disk. You can then delete them from main disk, freeing up space.
Tell me how to merge the 2 disks partitions and don't worry about the risk because I'm gonna take a snapshot from the instance before I do the action.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
Tell me how to merge the 2 disks partitions and don't worry about the risk because I'm gonna take a snapshot from the instance before I do the action.
That's not something that we'd be able to do for you. You'd need to discuss the possibility of this procedure with your provider, or a system administrator. If you don't have a system administrator you might find one here: System Administration Services
 
  • Like
Reactions: ImperialTrader