How to increase my KVM account disk space

If you have a KVM plan, by default, the space is 20GB, if you get bigger space, you will need to resize it via one of the 2 options below:

1. Reinstall it via ISO via web control panel - see https://www.rentpbx.com/support/knowledgebase/82/How-reinstall-from-ISO-on-64-bit-plan.html

2. Resize it manually via SSH, assuming you have Ubuntu with 1 big LVM partition, you do below commands:

NOTE: You may first need to Stop VPS then Start VPS via web panel.

- find out which vda you need to resize

fdisk -l /dev/vda | grep ^/dev

- assuming it is vda1 and called /dev/mapper/ubuntu--vg-root (you can find it via command df)

parted /dev/vda
resizepart 1 100%
quit

pvresize /dev/vda1

lvresize --size +20G --resizefs /dev/mapper/ubuntu--vg-root

Byla tato odpověď nápomocná?

 Tisknout tento článek

Také čtěte

OpenVZ and VPN/TUN/OpenSwan

If you're having issues with your VPN/OpenSwan not working, try ssh as root to the server and do...

My iptables show error on new system

You just need to SSH or access via noVNC Console and type 2 commands below:mkdir...

How reinstall from ISO on 64-bit plan

To reinstall from ISO, first go to your client area and Product Details pageThere, you will see...

How to access console of your server

IMPORTANT: - Console access may require you to use browser that support TLS 1.0/1.1, like Chrome...

I'm getting error about no ETH0/ETH1

This newer system has different network location so as suggested when you first SSH to your new...