Backup and Restore of a RAW disk with Preallocation=full

VDNKH

Renowned Member
Aug 8, 2016
57
2
73
29
Hello everyone!!! I have a raw disk image in one of my VMs with preallocation=full, i can do backups without any problem, but when i do a restore the raw disk of the VM return to defaults, and loss the preallocation=full, i can fix that? there is some way to do that?

The disk size is 150G preallocation=full, raw. Its FIXED.
When i do a restore, the image size is the used space. Minor than 150G
 
the preallocation parameter is set to "metadata" when restoring and currently there is no way to change that.
may i ask why do you need that?
 
  • Like
Reactions: VDNKH
Thanks for the answer! :)
I need that for a better performance in Windows Server 2012 R2 and Windows Server 2016, according to my research of the Microsoft recommendations for the Vms.

Or what do you recommend me?
 
Last edited:
I have a SQL server in my PROXMOX and i made a raw disk image with preallocation=full for each component. DATABASE, BACKUP, SWAP and LOGS
 
I need that for a better performance in Windows Server 2012 R2 and Windows Server 2016, according to my research of the Microsoft recommendations for the Vms.
i don't think it makes a huge performance difference (except your storage is very full),
but you could try lvm (not lvm-thin), which just maps blocks on the disk without a file system in between.
 
  • Like
Reactions: VDNKH