When you create a virtual machine with VirtualBox, you are greeted with two options while creating the virtual disk:
- Dynamically allocated
- Fixed size
The dynamically allocated just creates a sparse file that grows when the requirements expand.
But the fixed size creates a file that consumes the allocated disk space.
Creating both dynamically allocated and fixed-sized partitions will not take a long amount of time.
What kind of file does the fixed size create? Is it gets written to the disk and increases the total terabytes written SMART count? Can I create such a file that consumes a huge space but takes no time to get created?
I noticed that a newly created very small disk worth 194M has 5 lines of binary data.
I also created a 12G file, which also is mostly empty. But it takes no time to create the 12G file.