Hey,
I have a 1TB RAW disk (
The real usage is about 15 GB, so there's plenty of space to shrink.
I've tried to do a
Can you please let me know how to do it? I can convert to QCOW if necessary.
Thank you!
I have a 1TB RAW disk (
rpool/data/vm-101-disk-0
) on a ZFS pool (local-zfs
) that I want to shrink to 256 GB. The VM uses cloud-init.The real usage is about 15 GB, so there's plenty of space to shrink.
I've tried to do a
zfs set volsize=256G rpool/data/vm-101-disk-0
which works, but the OS breaks. So then I tried to boot the VM with a LiveCD, resize /dev/sda1
to 100 GB and to the zfs set volsize
. The OS breaks.Can you please let me know how to do it? I can convert to QCOW if necessary.
Thank you!