Hi All,
I am using ESX 3.5 U4 with NAS and iSCSI storage
When i actually did cold migration for a VM from NAS to iSCSI, few files went misisng and VC dint even showed any error.
-rw------- 1 root root 6.0G Jun 12 09:16 achilles1-000002-delta.vmdk
-rw------- 1 root root 292 Jun 12 09:16 achilles1-000002.vmdk
-rw------- 1 root root 1.5G Jun 12 09:17 achilles1-000003-delta.vmdk
-rw------- 1 root root 292 Jun 12 09:16 achilles1-000003.vmdk
-rw------- 1 root root 8.5G Jun 12 09:24 achilles1_1-000002-delta.vmdk
-rw------- 1 root root 296 Jun 12 09:16 achilles1_1-000002.vmdk
-rw------- 1 root root 416M Jun 12 09:17 achilles1_1-000003-delta.vmdk
-rw------- 1 root root 296 Jun 12 09:16 achilles1_1-000003.vmdk
-rw------- 1 root root 8.5K Jun 12 09:16 achilles1.nvram
-rw------- 1 root root 19K Jun 12 09:16 achilles1-Snapshot5.vmsn
-rw------- 1 root root 1.0K Jun 12 09:16 achilles1.vmsd
-rwxr-xr-x 1 root root 2.3K Jun 12 09:24 achilles1.vmx
-rw------- 1 root root 280 Jun 12 09:16 achilles1.vmxf
-rw-rr 1 root root 30K Jun 12 09:16 vmware-92.log
-rw-rr 1 root root 30K Jun 12 09:16 vmware-93.log
-rw-rr 1 root root 30K Jun 12 09:16 vmware-94.log
-rw-rr 1 root root 30K Jun 12 09:16 vmware-95.log
-rw-rr 1 root root 30K Jun 12 09:16 vmware-96.log
-rw-rr 1 root root 30K Jun 12 09:16 vmware-97.log
-rw-rr 1 root root 30K Jun 12 09:24 vmware.log
-r----
1 root root 0 Jun 12 09:24 vmware-vmx-zdump.000
As we can see, flat files and snapshot files are missing.
Now originally this VM was been created using VMware convertor on a workstation VM. So i thought to recreate the parent disk. I did that and moved the files as below
-rw------- 1 root root 10G Jun 12 09:36 achilles1_1-flat.vmdk
-rw------- 1 root root 549 Jun 12 09:36 achilles1_1.vmdk
-rw------- 1 root root 10G Jun 12 09:46 achilles1-flat.vmdk
-rw------- 1 root root 547 Jun 12 09:36 achilles1.vmdk
Then i changed the CID's in vmdk's in snapshot 2 to point to parent file.
Then i did vmkfstools -i achilles1_1-000003.vmdk achillestest.vmdk and got an error "The parent virtual disk has been modified since the child was created (18)"
So i tried to change the timestamp of files manually, but no luck.
When i tried to poweron the same VM using VC, it gave me an error . " A general system error has occured: Internal error"
Anyone has any suggestions to recover the data from the snapshot files.....
Anil Gupta
Have a look at:
Andre
**if you found this or any other answer useful please consider allocating points for helpful or correct answers
just in case you may have missed a step, the KB outlines the procedure as well