What is the correct way or is it even possible?
Backup / Restore is not an option, as we're talking about 300 vm's.
如果您的存储支持丢弃,您可以在您的 vm 磁盘上启用丢弃并执行 fstrim。
或者你可以备份/恢复
(请注意,默认情况下原始格式也是精简配置的,只需执行“du -sh myfile.raw”即可查看实际空间使用情况)
How to set Thick Provisioning?if your storage support discard, you could enable discard on the your vm disk and do an fstrim.
or you can backup/restore
(Note that raw format is thin provisionned too by default, just do a "du -sh myfile.raw" to see the real space usage)
But #3 spirit said: "Note that raw format is thin provisionned too by default", I need disable thin provisionuse RAW files
Recreate the RAW file as thick provisioned with dd after creating it or convert it via qemu-img manually (google is your friend). There is no way to do this in PVE itself except with thick LVM and ZFS without the 'sparse' check mark.But #3 spirit said: "Note that raw format is thin provisionned too by default", I need disable thin provision
We use essential cookies to make this site work, and optional cookies to enhance your experience.