Answer the question
In order to leave comments, you need to log in
How to seamlessly expand the root disk on the fly in a linux virtual machine?
What is the best way to install Debian / Ubuntu OS, so that in the future there would be no problem with expanding the root partition?
The bottom line is that there is a certain software that can increase dramatically in volume and it is not possible to estimate the size of the disk in advance, and I don’t even need to think.
A virtual machine, it is not particularly important under which hypervisor it will be, the disk format is VMware image format.
Resize image without problems can be done with one command.
And here's how to expand it under a virtual machine without problems, without losing data, and most importantly without stopping the VM.
How to initially partition the disk, or how can lvm be used initially?
Answer the question
In order to leave comments, you need to log in
The data section that most likely needs to be expanded is done at the end of the block device. So that there is nothing behind him. And it doesn't matter if it's a root partition or something else.
When you need to expand:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question