hwangwenchao
Contributor
Contributor

Whether QueryDiskChangedArea() and VixDiskLib_QueryAllocatedBlocks() both return the entire disk?

I'm backing up a virtual machine's disk in NFS storage on a vCenter 7.0.3u3. When I use QueryDiskChangedArea() and VixDiskLib_QueryAllocatedBlocks() to query the disk's changed data, it returns the data of the entire disk, and many of its data may be 0, I don't need these 0 data, what should I do to know which data is really useful? please help me?

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Which SDK or API does this relate to?


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
hwangwenchao
Contributor
Contributor

hi, scott28tt, thanks for your reply!QueryDiskChangedArea() is the interface of the called Mob, the current version is 7.0.3 u3, and VixDiskLib_QueryAllocatedBlocks() is the interface of VixDiskLib, the version is 7.0.0

Reply
0 Kudos
scott28tt
VMware Employee
VMware Employee

Your post needs moving, but I'm not sure where to within the Communities, I've reported it to the moderators.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
Reply
0 Kudos
hwangwenchao
Contributor
Contributor

It should be the development of disaster recovery software belonging to vmware, so can I solve the problem I raised?

Reply
0 Kudos
sluge
Contributor
Contributor

It occured due to this:

Virtual Disk Development Kit Programming Guide:

One limitation is that VixDiskLib_QueryAllocatedBlocks returns the whole VMDK for NFS, rather
than just the allocated blocks as for VMFS, vSAN, and VVol datastores.

Reply
0 Kudos