How do you resize qcow disk?

TheNoob

New Member
Mar 13, 2020
7
0
1
34
I resized the disk to 160GB but it still shows as the initial 20GB on the Dedicated Server. Checked with parted, and I don't see any resources that can be allocated.

PBafGOT.png


Code:
Model: Virtio Block Device (virtblk)
Disk /dev/vda: 172GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type      File system     Flags
 1      1049kB  19.4GB  19.4GB  primary   ext4            boot
 2      19.4GB  21.5GB  2095MB  extended
 5      19.4GB  21.5GB  2095MB  logical   linux-swap(v1)

Nevermind I see that it says 172GB on /dev/vda, how would I allocate that to Number 2?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!