I had OVA package, from which I could import into esx (4.1.0, 348481) successfully.
But when I tried to clone the virtual disk in OVA package with vmkfstools, it always failed.
Following is the verbose output:
[root@esx1 datastore1]# vmkfstools -v 5 -i vw2k3s64-2011073000-disk1.vmdk -d thin test.vmdk
Destination disk format: VMFS thin-provisioned
DISKLIB-DSCPTR: Opened [0]: "vw2k3s64-2011073000-disk1.vmdk" (0xe)
DISKLIB-LINK : Opened 'vw2k3s64-2011073000-disk1.vmdk' (0xe): streamOptimized, 62944722 sectors / 30.0 GB.
DISKLIB-LIB : Opened "vw2k3s64-2011073000-disk1.vmdk" (flags 0xe, type streamOptimized).
Cloning disk 'vw2k3s64-2011073000-disk1.vmdk'...
DISKLIB-LIB : CREATE: "test.vmdk" -- vmfs capacity=0 (0 bytes) adapter=buslogic cowGran=0
DISKLIB-LIB : CREATE: "test.vmdk" -- vmfs capacity=62944722 (30.0 GB) adapter=buslogic cowGran=0
DISKLIB-DSCPTR: "test.vmdk" : creation successful.
DISKLIB-VMFS : "./test-flat.vmdk" : open successful (17) size = 32227697664, hd = 0. Type 3
DISKLIB-VMFS : "./test-flat.vmdk" : closed.
DISKLIB-VMFS : "./test-flat.vmdk" : open successful (536) size = 32227697664, hd = 6357085. Type 3
DISKLIB-DSCPTR: Opened [0]: "test-flat.vmdk" (0x218)
DISKLIB-LINK : Opened 'test.vmdk' (0x218): vmfs, 62944722 sectors / 30.0 GB.
DISKLIB-LIB : Opened "test.vmdk" (flags 0x218, type vmfs).
DISKLIB-DDB : "longContentID" = "39450c82c0896d1e2116a0ebf763b1aa" (was "fadf956481aace637678fec3fffffffe")
DISKLIB-DDB : "adapterType" = "lsilogic" (was "buslogic")
DiskLibCloneCanUseDM: srcType streamOptimized, dstType vmfs
DISKLIB-LIB : DiskLibCloneChunks: Performing non-accelerated clone.
Using zlib version 1.2.3
Clone: 40% done.DISKLIB-LIB : numIOs = 50000 numMergedIOs = 44 numSplitIOs = 24225
Clone: 81% done.DISKLIB-LIB : numIOs = 100000 numMergedIOs = 44 numSplitIOs = 24230
Clone: 99% done.Inflate failed (stream end)
DISKLIB-LIB : RWv failed ioId: #147239 (2567) (7) .
DiskLibCloneChunks: read failed for sector #62944256, length 0x1d2: Data corruption detected (2567).
DISKLIB-VMFS : "./test-flat.vmdk" : closed.
DISKLIB-VMFS : "./test-flat.vmdk" : open successful (1041) size = 32227697664, hd = 0. Type 3
DISKLIB-VMFS : "./test-flat.vmdk" : closed.
DISKLIB-LIB : Failed to clone : Data corruption detected (2567).
Failed to clone disk : Data corruption detected (2567).
Can anybody help out? Thanks!