Hi,
my goal is to shrink a second disk "disk-1" from a Linux VM - without losing data.
When creating at that time a "0" was too much - I would like to have the memory back.
The disc is in a ZFS pool.
Test with Windows VM:
Windows boot disk reduced from 300G to 150G.
So far everything has worked - only in Windows it still shows the "old" size.
Proxmox CLI and GUI show new size.
VM shutdown
zfs set volsize = 150G SSD/vm-200-disk-0
Then the "conf" edited
vim /etc/pve/local/qemu-server/200.conf
virtio0: SSD: vm-200-disk-0, cache = writeback, size = 150G
Test with Linux VM:
Linux boot disk reduced from 100G to 80G
Linux does not boot anymore ... but zfs snapshot rollback was successful.
zfs set volsize = 80G SSD/vm-300-disk-0
Then the "conf" edited
vim /etc/pve/local/qemu-server/300.conf
virtio0: SSD: vm-300-disk-0, size = 80G
Ideas how I can do it on the Prod system to get storage back?
my goal is to shrink a second disk "disk-1" from a Linux VM - without losing data.
When creating at that time a "0" was too much - I would like to have the memory back.
The disc is in a ZFS pool.
Test with Windows VM:
Windows boot disk reduced from 300G to 150G.
So far everything has worked - only in Windows it still shows the "old" size.
Proxmox CLI and GUI show new size.
VM shutdown
zfs set volsize = 150G SSD/vm-200-disk-0
Then the "conf" edited
vim /etc/pve/local/qemu-server/200.conf
virtio0: SSD: vm-200-disk-0, cache = writeback, size = 150G
Test with Linux VM:
Linux boot disk reduced from 100G to 80G
Linux does not boot anymore ... but zfs snapshot rollback was successful.
zfs set volsize = 80G SSD/vm-300-disk-0
Then the "conf" edited
vim /etc/pve/local/qemu-server/300.conf
virtio0: SSD: vm-300-disk-0, size = 80G
Ideas how I can do it on the Prod system to get storage back?