Hi,
I have a single-node Proxmox installation, running Proxmox 9.0.11.
I'm using ZFS for my primary drive, on a 2TB disk.
I have a VM, that previously had a single 50GB disk. The underlying VM is running Debian, with an ext4 filesystem. I thought I wanted to resize this, and increased it to 250GB.
I was about to run resize2fs, then I was about to run GParted Live - then suddently realised I didnt want to increase the root partition on this VM. Hence, I haven't yet enlarged the VM partition table or partitions.
I know it would obviously be prudent to do a backup of that VM now, which I am doing.
However, is there any way at all to try to shrink the underlying VM's virtual disk, from 250GB, back down to 50GB, or thereabouts? (I know there's an existing thread about resizing disks, but that is all about LVM). I'm hoping there's some way to do this on ZFS perhaps?
Thanks,
Victor
I have a single-node Proxmox installation, running Proxmox 9.0.11.
I'm using ZFS for my primary drive, on a 2TB disk.
I have a VM, that previously had a single 50GB disk. The underlying VM is running Debian, with an ext4 filesystem. I thought I wanted to resize this, and increased it to 250GB.
I was about to run resize2fs, then I was about to run GParted Live - then suddently realised I didnt want to increase the root partition on this VM. Hence, I haven't yet enlarged the VM partition table or partitions.
I know it would obviously be prudent to do a backup of that VM now, which I am doing.
However, is there any way at all to try to shrink the underlying VM's virtual disk, from 250GB, back down to 50GB, or thereabouts? (I know there's an existing thread about resizing disks, but that is all about LVM). I'm hoping there's some way to do this on ZFS perhaps?
Thanks,
Victor