vCenter

  • 1.  Need help to retrieve a VM

    Posted Apr 07, 2015 10:27 AM

    Hello Guys,

    One of my colleague did something wrong with one VM and it's a mess now.

    The VM has been renamed and removed from inventory.

    The old name was SRVWINGLP01 and has been renamed to SRVLINGLP01.

    The thing is, if I look in the datastore containing the VM (with the old name), the modification date for all files is around December 2013.

    If I look with esxtop on the hypervisor, the VM is there and running under SRVLINGLP01.

    I had access until my colleague mess around with IPtables, soooo.

    No V2V with Vmware Workstation and Vcenter Converter.

    Is there any way to retrieve the vmdk ?

    I mean the VM is running so there might be a way to retrieve it, right ?

    If someone can help, It would awesome.

    Thank you.

    BR,



  • 2.  RE: Need help to retrieve a VM

    Posted Apr 07, 2015 02:49 PM

    After some research, I think i know how to solve this.

    I just need help to figure this out.

    I ran this command on the ESXi : esxcli vm process list

    I'm able to identify my VM : SRVLINGLP01 - Config File: /vmfs/volumes/6c518f0e-4fd4bbe3/SRVWINGLP01/SRVWINGLP01.vmx

    The config file is still with the old name (normal thing I believe).

    Then I ran this command : cd /vmfs/volumes/6c518f0e-4fd4bbe3/SRVWINGLP01/ && ls -la

    I can see that there is a snapshot and a delta file :

    1543548928      Apr  7 14:31 SRVWINGLP01-000001-delta.vmdk

    325                Dec  7  2013 SRVWINGLP01-000001.vmdk

    Can I merge the delta to the flat.vmdk from the CLI ?

    Thanks for the help



  • 3.  RE: Need help to retrieve a VM
    Best Answer

    Posted Apr 07, 2015 03:00 PM


  • 4.  RE: Need help to retrieve a VM

    Posted Apr 07, 2015 03:44 PM

    Hi,

    Yes, that's what I finally did.

    It worked, my VM is back :smileygrin:

    So much pressure for one day...

    Going to bed now..

    Thank you for your answer.

    Cheers