VMware Cloud Community
Blackpixel83
Contributor
Contributor
Jump to solution

moving vmdk to new vm faild (delta not follow)

Hi here is what i done.
- Close serveur-compta (win serv 2003)
- remove disk2 from the config
- rename serveur-comta to serveur-voute (in the vm tree.)
- rename serveur-fresh to serveur-compta (in the vm tree) (it is a server 2012
- add disk2 to serveur-compta (the 2012).
          Ok here, the disk said compta_1-000003.vmdk in the old win2003 config
          but I add compta_1.vmdk in the new one.
- then the power up the new machine.
          The disk is there but the datas are 2 years old !
In the data storage there is compta_1, compta_1-000001, compta_1-000002, compta_1-000003.vmdk.
Is there a way to remerge the files ! ?????

0 Kudos
1 Solution

Accepted Solutions
a_p_
Leadership
Leadership
Jump to solution

Let's give this a try:

  1. in "Win-2003-Compta_1-000001.vmdk" set parentCID=1ca37c3e
  2. in the VM's configuration (.vmx) file set the virtual disk's name to "Win-2003-Compta_1-000003.vmdk"
  3. reload the VM, see https://kb.vmware.com/s/article/1026043

Then create a new snapshot before you power on the VM, so that the current files .vmdk won't get modified.

André

View solution in original post

0 Kudos
6 Replies
a_p_
Leadership
Leadership
Jump to solution

Unless the "base" virtual disk received a lot of changes while it was active, there's a chance to re-chain the snapshots, and get away with not too much data corruption/loss. I assume/hope that you immediately powered off the VM after you realized the issue!?

To find out what can be done, please run the following commands in the VM's folder to collect required information:

ls -lisa *.vmdk > filelist.txt cat compta_1.vmdk >> filelist.txt
cat compta_1-000001.vmdk >> filelist.txt
cat compta_1-000002.vmdk >> filelist.txt
cat compta_1-000003.vmdk >> filelist.txt
cat *.vmx >> filelist.txt

Then attach the filelist.txt to your next reply.

André

0 Kudos
Blackpixel83
Contributor
Contributor
Jump to solution

Hi André, thank you for your help. (Are you french ? 🙂 )

Ok here is the file. Exepte trying to mount the drive on the two vm's I just browse the file sytème, I didn't do things.

Christophe.

0 Kudos
a_p_
Leadership
Leadership
Jump to solution

Let's give this a try:

  1. in "Win-2003-Compta_1-000001.vmdk" set parentCID=1ca37c3e
  2. in the VM's configuration (.vmx) file set the virtual disk's name to "Win-2003-Compta_1-000003.vmdk"
  3. reload the VM, see https://kb.vmware.com/s/article/1026043

Then create a new snapshot before you power on the VM, so that the current files .vmdk won't get modified.

André

0 Kudos
Blackpixel83
Contributor
Contributor
Jump to solution

Ho my god, magic André ! 

That did the trick !

Seams to be good.

Ok now, how can i move it to another VM without "**bleep**ing" it as this drive is a data only drive. 😉

Thanks thanks thanks 😉

0 Kudos
a_p_
Leadership
Leadership
Jump to solution

If you want to avoid complications, consider to delete all snapshots before disconnecting the virtual disk from the old VM.

André

0 Kudos
Blackpixel83
Contributor
Contributor
Jump to solution

Ok thank again for your help.
christophe.

0 Kudos