1 (edited by joachim.graw@jumf.de 2021-02-08 19:09:57)

Topic: [closed] Not allocated space after successfully shrinking Proxmox VM

Hello to the forum,

as a first time user of this forum I present my question as follows:

I used Gparted to shrink a virtual machine in Proxmox.
Everything worked fine, machine is up and running und shrunk from 32 GB to 10+4 GB.
14 GB is shown as drive size in Proxmox correctly.

When I reboot the VM with the Gparted-ISO to have a look at the shrunk partition I see
that the freed space (18 GB) is still shown as not allocated - see picture.

https://cvws.icloud-content.com/B/AZym4Ow9wCfT1SVc3q7FzH7F1DwRAaq-cBNPjuWmF1uIeYlOAZ4gwDkW/Screenshot-1.jpg?o=Ah0v5YvL0ksD9GN4t9UKeNPLWMF7hvW_trX17R6UIO1n&v=1&x=3&a=CAogHzqdtQNnJVMOMDcFzJNLc1apwYEx4OaAyh0tTFE5p74SaxDG9eeR-C4Y5uyekvguIgEAUgTF1DwRWgQgwDkWaiX3_84UcZWkVk6NN0mBGcnBuFSxy2A1d-04FQce_KE1ANMHZboSciWbPzWInfc3KhE4G9rd4bZ8y3waFjmv0SLiIiPVLnfUSmqyCU0e&e=1612798473&fl=&r=b8695038-9e42-453c-8388-73ca5d793004-1&k=byo2zeEQJEfZAecONuC9cA&ckc=com.apple.clouddocs&ckz=com.apple.CloudDocs&p=45&s=XoE1qoX4uhZgXkrSqY2fQ0W_o6M&cd=i

I also see error notes:

- Can´t have a partition outside the disk
- Invalid argument during seek for read on /dev/sda
- Invalid partition table on /dev/sda -- wrong signature 0

"Ignore" leads to the picture shown above.

Please help me to get it right.

Thanks a lot in advance.
Joachim