wrong sizing

elclay

New Member
Dec 25, 2020
1
1
3
38
Hello community,

I am testing proxmox ve 6.3 and I have made the following error:
I tried to increase a disk and by mistake I put 1024 GB instead of 1 GB, and now I don't know how to reverse that change.
Try to edit the file /etc/pve/qemu-server/103.conf and put back the original capacity of the disk which is 10 GB but when restarting the proxmox server it does not take the change and puts the value of 1024 GB again.

How can I revert this configuration?

1608926428937.png
 
  • Like
Reactions: apoc
You can't shink a virtual hdd.

You need to create a new second virtual hdd, copy the partition table and all data from the old hdd to the new hdd and remove the old hdd. If everything works you can destroy the old hdd and use the new one. That only works if you don't already altered the partition table. Increasing the virtual hdd in WebGUI only increases the size of the block device. Your guest can't use that new space until you change the sizes of your partitions.
 
Last edited: