How to make a VM Disk smaller, because of io-error

SvenKlomp

New Member
Jan 21, 2023
1
0
1
Hello Guys,

For some time now I have a VM (running Truenas Scale) that keeps giving an IO error, because I accidentally made a VM Disk larger than the actual disk on which it is located with the resize tool.

I have tried to change to size by changing the config of the VM but this did not work.
1674320406307.png

Config of VM:
Code:
balloon: 2048
boot: order=scsi0;net0
cores: 2
memory: 8192
meta: creation-qemu=6.1.0,ctime=1640365896
name: TrueNass-VM
net0: virtio=82:C7:CA:31:1B:CE,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: l26
scsi0: local:104/vm-104-disk-0.qcow2,size=20G
scsi1: TrueNass-Storage:104/vm-104-disk-0.qcow2,backup=0,cache=writeback,size=480G
scsihw: virtio-scsi-pci
smbios1: uuid=7380e099-744e-4e7b-9b9f-f2a2717286d6
sockets: 1
startup: order=2,up=60
vmgenid: 8fe3ca6c-54d2-465c-8f9e-592edcf15fcf

The actual size of the VM Disk is 678 GB and the actual disk (SDD) is only 500 GB big.
1674320473978.png

The actual size:
1674320489225.png

Do you guys have any suggestions how to make the disk smaller?

Thanks in advance!
 

Attachments

  • 1674319728757.png
    1674319728757.png
    17.9 KB · Views: 2
  • 1674319798251.png
    1674319798251.png
    93 KB · Views: 1
  • 1674320057255.png
    1674320057255.png
    39.3 KB · Views: 3
Last edited:

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!