out of space on the zfs pool for snapshots

Cozorianul

New Member
Mar 21, 2024
2
0
1
I'm new to proxmox and I created 2 zfs pools for one of my VMs and assigned as disks the entire storage of the pool( 440gb out of a 500gb disk and 800gb ot of a 1tb disk).
now when I want to crate a snapshot I'm told that I don't have enough space on the main zfs pool on which the VM is hosted.

Can I somehow shrink that pool in order to have some space for snapshots?
 
Can I somehow shrink that pool in order to have some space for snapshots?
Shrinking disks could always corrupt your data. My guess would be that you forgot to check the "Thin" checkbox when creating those pools so everything is thick and not thin-provisioned right now. If that is the case I would make the virtual disks thin and you then hopefully got enough space to create your snapshots.

Whats the output of zfs list -o space, cat /etc/pve/storage.cfg and zfs get refreservation?
 
Shrinking disks could always corrupt your data. My guess would be that you forgot to check the "Thin" checkbox when creating those pools so everything is thick and not thin-provisioned right now. If that is the case I would make the virtual disks thin and you then hopefully got enough space to create your snapshots.

Whats the output of zfs list -o space, cat /etc/pve/storage.cfg and zfs get refreservation?
after some more digging I deleted that VM, not worth the time spent on troubleshooting right now. I didn't know about the availability to create a thin zfs pool, so I did that and now recreating the VM, for the final time I hope :) thanks for that