Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have to create a disk of total Size 200 GB. So i chose VIXDISKLIB_DISK_MONOLITHIC_SPARSE disk to be created so it can grow as the size increases,

// Fill createParams for target
createParams.adapterType = VIXDISKLIB_ADAPTER_IDE;
createParams.capacity = 419430400;
createParams.diskType = VIXDISKLIB_DISK_MONOLITHIC_SPARSE;




VixError vixError = VixDiskLib_Create(_conn, vmdkFilePath.c_str(), &createParams, NULL, NULL);
CHECK_AND_THROW(vixError);

this craete API creates 25 MB file.Is it normal ? Is so does the size of file increase depending upon createParams.capacity ? Why is so ?

Please help.

/Thanks
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900