HOW TO ADD MEMORY TO A VIRTUAL SERVER?

Started by Svetlana, Aug 09, 2022, 12:26 PM

Previous topic - Next topic

SvetlanaTopic starter

HOW TO ADD MEMORY TO A VIRTUAL SERVER?

Hello. The question is this: there is a virtual server with a certain amount of memory, we decided to add another 50 gigabytes. Tell me what commands you need to specify so that the virtual machine sees that the free space has increased.
  •  

Vladimir

If we are talking about memory, just restart the server. If we are talking about a disk, you need to resize the partition, and then "stretch" the fs on top of this partition. Simple commands can be found in Google without problems by requesting linux disk resize.

Or just load a virtual server with a live cd image, for example, gparted.

Good luck.
  •  

Yura

As we wrote above, most often a normal reboot is enough. In general, it depends more not on virtualization, but on the hoster itself. For someone it happens automatically, for someone it has to be done manually, others may refuse this operation altogether. In fact, I wouldn't do it myself, of course it's better if you contact someone who understands this.
  •