I have migrated a physical (running) Windows PC to Proxmox with VMware Converter creating a "vmdk" file.
After that I have created a new VM on my Proxmox server and modified the VM configuration to point to that "vmdk" file.
The VM worked fine and I have moved the disk to an LVM on my Proxmox server so the "vmdk" is no longer used and the VM disk is in the LVM.
The problem is that the physical PC migrated had a 500GB disk with 300GB free. I have unalocated that free size on the VM using Windows disk administrator and now I want to shrink the VM disk to 200GB but I can't get to do it
I have tried:
But I don't know how to solve the given 400 error or another way to shrink the disk
After that I have created a new VM on my Proxmox server and modified the VM configuration to point to that "vmdk" file.
The VM worked fine and I have moved the disk to an LVM on my Proxmox server so the "vmdk" is no longer used and the VM disk is in the LVM.
The problem is that the physical PC migrated had a 500GB disk with 300GB free. I have unalocated that free size on the VM using Windows disk administrator and now I want to shrink the VM disk to 200GB but I can't get to do it
I have tried:
Code:
root@myserver:/# qm resize 101 ide0 -- -120G
400 Parameter verification failed.
size: value does not match the regex pattern
qm resize <vmid> <disk> <size> [OPTIONS]