Opened 12 years ago
Closed 9 years ago
#11421 closed enhancement (wontfix)
Ability to preallocate a certain amount of disk space on a dynamically allocated virtual hard drive
Reported by: | iamhappycoder | Owned by: | |
---|---|---|---|
Component: | GUI | Version: | VirtualBox 4.2.6 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | all |
Description
When creating virtual hard drives, it would be nice if a certain amount of disk space can be specified to be preallocated or initialized so that initial disk utilization would be a bit faster.
I noticed on dynamically allocated virtual hard drives, installing any OS takes longer than if I were using fixed size virtual hard drive.
This may no longer be true when using SSDs, but it would be a few more years before SSDs are as affordable and high capacity as today's HDDs.
So if I know that an OS install would take up 3.5G, I would create a 20GB dynamically allocated hard drive but set about 5GB of pre initialized space.
I don't think this request makes much sense. Either allocate the complete disk or don't, but there is no 3rd choice. Even if we would decide to allocate a certain amount of disk sectors, how many would that be? And how can you be sure that the guest will use the pre-allocated sectors and not start the disk allocation at random sectors?