Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How it's possible to recover vmdk file from flat file in ESX?

user-image
Question added by Majid Heshmatian , IT Project Manager , MENACA
Date Posted: 2015/04/20

Impactful Software To Recover VMDK file from flat file in ESX With the amazing and outstanding features. Try out now the Freeware Demo Version of VMDK Recovery Software and get to know more about its highlighting features in deep.   DOWNLOAD

Majid Heshmatian
by Majid Heshmatian , IT Project Manager , MENACA

There is another way:

SSH the ESX Server then Do As :

1-   # cd /vmfs/volumes/myvmfsvolume/mydir

2-   # ls -l XXX-flat.vmdk ==> Write down the size of the file

3-   # vmkfstools -c (Size of the file) -d thin -a lsilogic temp2.vmdk

4-   there are2 new files created:  temp2.vmdk and temp2-flat.vmdk are created as a result

5-   # rm temp2-flat.vmdk

6-   # mv temp2.vmdk XXX.vmdk

7-  Edit the descriptor file (the XXX.vmdk)==> Simply right Click and Edit then Find the "RW    ####### " and replace temp2.vmdk to XXX.vmdk

8-  Power Up the VM

 

 

Dear Khaled thanks for your Notice

 

 

Khaled Al Saadi
by Khaled Al Saadi , Senior Technical Engineer , Safir Support Services

As you know, when you remove a VM or a vmdk disk from disk (and not only from inventory or VM) you loose all your data.

Is possible to roll back? Yes... just restore from a backup. 

But if you do not have a VM backup? Or a recent one?

The solution could be the VMDK Recovery Tool.

 

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.