Hey,
I'm using Proxmox 5 and local ZFS for storage.
I've created a KVM VM, used the ZFS mount for storage, allocated 100GB of space, checked "discard" and installed the OS.
Immediately after OS install I've made a backup by using vzdump. Backup size was ~5 GB. Everything OK 'till here.
Next, I've downloaded 10 + 10 + 10 + 10 + 10 GB of data. All data files were different in order to keep ZFS dedup out of the way. "df" reported ~45 GB of used space. I've made a new vzdump, backup size was ~45 GB. Everything OK 'till here.
Lastly I've removed all "data" test files. "df" reported ~5 GB of used space. But when making the vzdump...the backup size remained at ~45 GB.
Is there any way to really discard unused data without interfering with the VM? I cannot ask everybody to allow me root access in order to manually clear/discard space via OS/VM.
Thanks,
Razvan
I'm using Proxmox 5 and local ZFS for storage.
I've created a KVM VM, used the ZFS mount for storage, allocated 100GB of space, checked "discard" and installed the OS.
Immediately after OS install I've made a backup by using vzdump. Backup size was ~5 GB. Everything OK 'till here.
Next, I've downloaded 10 + 10 + 10 + 10 + 10 GB of data. All data files were different in order to keep ZFS dedup out of the way. "df" reported ~45 GB of used space. I've made a new vzdump, backup size was ~45 GB. Everything OK 'till here.
Lastly I've removed all "data" test files. "df" reported ~5 GB of used space. But when making the vzdump...the backup size remained at ~45 GB.
Is there any way to really discard unused data without interfering with the VM? I cannot ask everybody to allow me root access in order to manually clear/discard space via OS/VM.
Thanks,
Razvan