HOW TO ADD MEMORY TO VIRTUAL WEBSERVER?

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

Previous topic - Next topic

SvetlanaTopic starter

What are the necessary commands to increase the memory of a virtual server by 50 gigabytes? The aim is to ensure that the additional space is recognized by the virtual machine.
  •  

Vladimir

In case of a memory issue, restarting the server should suffice. For disk-related problems, the partition needs to be resized followed by stretching the file system on the resized partition. Commands for these tasks can easily be looked up on Google, typically under "Linux Disk Resize".
Another possible solution is to load a virtual server with a live CD image such as GParted, providing more flexibility in managing disk space. Wishing you the best of luck in resolving any issues encountered.
  •  

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.
  •  

Kate Ivi

Hello.

If you are talking about memory, you need to restart the server.
If you are talking about a disk, you need to resize the partition, and then "stretch" the fs over this partition.
In addition to the answers, I would advise you NOT to do such an upgrade yourself. Since, there are a lot of small nuances, non-observance of which can lead to the loss of all data. It is better to consult and seek help from a hoster or a competent specialist.
  •  

ronybarne

If a client needs to increase the volume size beyond the standard limit, they can request it from their provider. However, if basic administration is not part of the initial package, then clients must recycle the disk by themselves. To accomplish this, administrative tasks involve connecting an additional "gparted" disk, which works with most Unix systems, then marking up the disk area.

For Windows systems, the process of increasing disk size is more straightforward and can be done using the disk setup wizard. There's no need to connect any additional programs. In case you need assistance, we're always happy to help at no cost.
  •