Reduce partition

rafafell

Well-Known Member
Sep 24, 2016
61
2
48
37
I reduced a partition of a virtual machine by the liveCD using Gparted -540GB (apparently OK)

How do I reduce these -540GB on proxmox? Just edit the "/etc/pve/qem-server/10X.conf"?


I tried using the command below, but it did not work:
https://pve.proxmox.com/wiki/Resize_disks

qm resize <vmid> <disk> <size>
qm resize 10X virtio0 -540G
 
Hi,

qm resize will only expend your disk.

How you shrink a disk depend on the the Storage where the Disk is located.
 
The virtual disk is in a storage directory (real HD added to proxmox). How should I proceed?
 
you can shrink raw and qcow2 files it with qemu-img.
 
  • Like
Reactions: rafafell

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!