Score:0

How to increase/expand the size of a root partition on ubuntu server?

ph flag

*Application *Ubuntu Server running low on space *VMWare ESXi

An error occurred that went unnoticed by the technicians. We used a ubuntu server with LAMP stack with a platform with 15G of space which we believed to be 50G and it is now in production. Me and the other technicians only noticed because ZABBIX pointed to use above 80% of disk space. I cleaned and managed to lower it however disaster is imminent.

VMWare HD space has been increased to 50G, I just didn't reboot so it didn't show up in the screenshot. In a test VM the LVM does not accept that I create Physical Volume (PV) because the partition I need to increase is mounted and is the root.

In the case of the platform in operation: enter image description here enter image description here enter image description here

Can I create using LVM or only if I create a new partition with free space? I need to increase my /dev/sda3 to the total of 50G or more without losing or corrupting its data. The main question: Is there any way to perform either with LVM, cfdisk or fdisk this operation without losing or corrupting the data on my ubunto server? Like?

Is it more viable to create a new Ubuntu server VM with more space and migrate a copy of the platform to the new ubuntu server? Turn off with little space and turn on with more space.

Thank you!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.