qm command that does that for you in the Proxmox manual.Hi famous member, What if the disk that I want to shrink is not the VM disk, but disk attached to a VM, this disk is not yet used, it's just empty. By mistake I grew it instead of shrinking it. And BTW why the option RESIZE DISK offers just to grow and not shrink.Easiest would be to restore from backup.
If you already expanded the filesystem inside the VM to match the new size, please find a guide (in this forum or on the internet) for reducing the size of your filesystem. Then look for a LVM guide somewhere to reduce the size of a logical volume (LV).
Afterwards, change the VM configuration file in /etc/pve/qemu-server/ to match the actual size, or find theqmcommand that does that for you in the Proxmox manual.
EDIT: Alternatively, add a new smaller virtual disk and copy everything yourself (and make the disk bootable, if need be) and afterwards remove the old disk.
It’s simply a virtio disk that I attached as a secondary disk to a Openmediavault VM.You have not specified what type of disk you have and your definition of "empty" is not clear
We use essential cookies to make this site work, and optional cookies to enhance your experience.