K kakao73 Member Aug 1, 2018 20 1 8 Jul 21, 2020 #1 I tried below: Bash: $ qemu-img resize -f raw --shrink $(pvesm path <lvm-thin-storage>:<vm-disk>) -1G qemu-img: Cannot resize device files How can I shrink it?
I tried below: Bash: $ qemu-img resize -f raw --shrink $(pvesm path <lvm-thin-storage>:<vm-disk>) -1G qemu-img: Cannot resize device files How can I shrink it?
Alwin Proxmox Retired Staff Retired Staff Aug 1, 2017 4,616 478 88 Jul 21, 2020 #2 AFAIK, qemu-img doesn't handle LVM(-thin). You will need to use the lvreduce command directly.