Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 214415

VDDK api VixDiskLib_Create creates 25 MB file size by default

$
0
0

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


Viewing all articles
Browse latest Browse all 214415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>