문제

I am using the following VDDK function to read VMware snapshot disk

http://bigchainring.kicks-ass.net/functions/VixDiskLib_Read.html

But it reads the complete disk sectors including empty spaces. I need to backup only the data written to snapshot disk. This is to save the backup disk space (eg If 126 KB snapshot is written in 40GB snapshot disk, then we need to read only 126 KB data and not 40 GB disk). Please suggest the right way to read the data written to snapshot disk.

도움이 되었습니까?

해결책

The vSphere API QueryChangedDiskAreas() can be used with changeId parameter as "*" to retrieve the sector details which contains the data.

VixDiskLib_Read() can be used then to read the sectors from virtual disk.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top