How to merge 2 disk partitions
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.
-
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. 0 -
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.0 -
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 Services0
Please sign in to leave a comment.
Comments
3 comments