The Latest Gartner® Magic Quadrant™Hyperconverged Infrastructure Software
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
Tim,Tim wrote:How do I create a multi-gigabyte zero filled image file?
Not sparse but fully allocated for maximum performance.
Just start the utility without parameters and you will see:Tim wrote:Ah, so that's what the '-o' parameter means.You could use our mksparse.exe with '-o' parameter.
A quick look around didn't reveal any documentation for the mksparse program.
Thanks.
mksparse: Image file creation utility Version 1.1
Usage: mksparse [-o|-extend] <filename> size[k|M|G]
Examples:
mksparse file.img 10M -- create a new 10MB image (sparse file)
mksparse -o file.img 10M -- create a new 10MB image (flat file)
mksparse -extend c:\temp\image.dat 100M -- extend an existing image by 100MB
Note: size will be aligned on sector boundary.
That'll be the MFT getting in the way. It normally sits near the start of the partition.Hey, I got a question for you. When you defragmented, did you also notice that windows writes a part of the file on the start of the disk, then makes a gap thats about 20% of the capacity, then continues writing the file, so there is no way making so you dont have the flat image atleast in 2 parts (which isnt bad, just interesting ntfs behaviour).
Tim wrote:Maybe, depends on the total partition size.Uhm, a 200GB MFT ?
Standard MFT size is 12.5% of total free space when formatted.
There is a registry option to change this to 25%, 37.5 or 50%.