Unable to start the virtual machine after Migration - ESXi hosts

Last night I wanted to move a virtual machine to a host of test to a production cluster.  All hosts (test and production) have shared access to the same LUN, so I usually am able to simply remove the virtual machines of the inventory in the test environment and add them to the production environment by accessing the .vmx on the data store file.  Two of the 3 hosts migrate perfectly and are running in the production environment.  However, the third server, while the migration starts.

First he gave me errors that it was missing some files.  The only thing I did was different to rename the folder for the virtual machine on the data store.  It was called 'New Virtual Machine' for a reason, so I renamed it to "Antivirus."  However, something strange happened.  Instead of renaming the folder, it seems was created a new folder named "Antivirus" and the old folder 'New Virtual Machine' was still there.  In addition, the renamed folder 'Antivirus' had only SOME of the files needed.  So I just copied from the old folder in the folder "Antivirus" and he hung up the virtual disk of 20 GB file.  So I closed the VI client and checked the vdmk 20 GB folder and back this morning is in the folder with other files.  However, when I try to start the virtual machine, I get the "cannot access a file because it is locked" error message.

I've done some detective and I noticed that in my second datastore where was the other folder vdmk, the file was now .40kB in size.  Looks like I've lost my other vdmk folder.  What happens here?

It looks that the virtual machine was still running when you tried to change the name, so the old folder could not be renamed because of the lock. That's why a new folder has been created instead, and why your vm hung on the vmdk file until the lock has been released. Don't know what happened to the 2nd vmdk file, but the file vmware.log in virtual machine directory must have some info as to why does not start the virtual machine. If the 2nd vmdk is gone, this might be a reason.

-KjB

VMware vExpert

Post edited by: kjb007: changed vm in vmdk

Tags: VMware

Similar Questions

  • Unable to start the virtual machine after restoration

    Guests including Test host: ESXi 5.1.0.1065491

    Vm problem: 32-bit, Server 2003

    I use Veeam Backup & Restore 6.5 to back up my vm.  I always do a test restore to ensure that my backups are good.  I'm having a problem with a restore.  The 32-bit Server 2003 vm starts just fine on the main host it runs on.  All the vm are 64-bit except for one who is a 32-bit Server 2003 vm.  Restoring the machine virtual and implemented on a host except the 32-Bit vm Server 2003 test.  After restoration and trying power to the top, I get the following error:

    Unable to start the virtual machine.

    Turn on VPCM module has failed.

    Viewed performance counters require version 3 or greater of architectural performance monitoring.

    Anyone know if there is a fix for this problem?

    TIA,

    Mux

    I assume you are using different hardware (CPUs, the BIOS settings) for VMS restored!

    The virtual machine has VPCM enabled, which causes the problem. You can either disable it in vSphere Web Client (you can do this in the vSphere Client Windows), or directly modify the .vmx VM by setting vpmc.enable to "FALSE".

    For how toggle this setting in the Web Client see allow virtual in the Web Client vSphere CPU Performance counters. If you want to edit the .vmx file manually, you need to delete/re-add the VM from the inventory or recharge (see http://kb.vmware.com/kb/1026043)

    André

  • Unable to start the virtual machine after failing to remove the snapshot

    Recently, I tried to delete a snapshot on a Windows XP virtual machine in VMware server 2.0. After a few minutes, the operation has failed, then the GUI crashed. I was not able to manage one of my virtual machines until I rebooted the server. My other virtual machines still work fine. I can't just run the virtual machine on which I tried to remove the snapshot. This virtual machine is very important to me and I would try to get it back. Does anyone have advice? Also, I upgraded this version of VMware server 1.x to 2.x, so please let me know if this may have something to do with this problem. Thanks in advance.

    An additional note. If the virtual machine starts, I suggest that you run chkdsk, just to make sure that there are no problems with the file system of the client.

    André

  • What is the interval of time between the virtual machine Linux and ESXi host synchronization?

    I have ESX5.0 with a centos6 installed on this linux virtual machine.

    After the installation of vmware for Linux virtual machine tools, I activated the time synchronization between the virtual machine linux and ESXi host through vmware-toolbox-cmd.

    I wonder what is the interval of time between the virtual machine linux and ESXi host synchronization? If I quickly time OS system, when the OS system time will sync back to the ESXi host?

    According to http://www.vmware.com/files/pdf/techpaper/Timekeeping-In-VirtualMachines.pdf:

    By default, the demon checks the guest only once per minute operating system clock.

    However, depending on whether the guest is behind or in front of the result is different. So, please read the section "periodic synchronization" (at least) in the document mentioned above.

    André

  • Cannot start the virtual machine after you create snapshop

    I found a strange behaviour. I have a Windows 2008 guest that I just copied in my new box ESXi. I am trying to create a snapshot before upgrading the guest to 2012 Windows operating system. The virtual machine has currently no snapshots. Whenever I have create a snapshot, he succeeds, but then I can't start the virtual machine saying that it does not find the vmdk file delta even though I see there in the data store. In order to start the virtual machine, I have to delete the inventory and it readd, but then I lose the snapshot. I also have another computer virtual running Windows 8.1 that does exactly the same thing. How can I create snapshots safely without damaging the virtual machine? I also tried to create the snapshot while the virtual machine has been activated but that makes crashing and then it does not start again, so I have to repeat the process to remove the inventory and it time. Frustrating. See the screenshots, I have attached.

    Once these virtual machines have been in Hyper-V in the past and I just convert to VMware format using the StarWind V2V converter.

    Yes, for an ESXi host and target you must either select the ESX f.vmdk as format target (growable option is for VMware Workstation), or you must convert the virtual machine once more instead of simply upload the files to an ESXi host.

    André

  • Unable to start the virtual machine

    Recently had to reboot my computer because windows updates and accidentally shut down the system while the virtual machine is running.

    After the reboot, I noticed the server was not running and cannot be started with the above error.  His runs on 10.1 workstation and I'll show you the log file.  Also deleted the .lck files but still no luck.

    Restart all of the services, they seem to stop and start cutting.

    Please help thanks!

    2015 05-17 T 10: 31:14.613 - 04:00 | VMX | I120: [msg.vmx.nestedHyperV] VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V system role before running VMware Workstation.

    It seems that the system started with Hyper-V active. You have another option of disabled starting with Hyper-V?

    André

  • Unable to start the virtual computer after restoring the backup

    Hello

    I have a very big problem! I have a Machine virtual Windows Server 2003 on a Mac Mini with Mac OS 10.6.8 2009 Sever Server and VMWare Fusion 4.1.1 and I had a record of crash! A backup is performed daily and I take snapshots of security risk.

    I changed the faulty HARD drive and restore "Mac Data. Now I want to restore my data from VM, but after that, I can't throw my VM. I have this error message: "Unable to get information on snapshots, lock down." (French translation, it can differ from original English message).

    I get on the internet and found that you must delete the snapshots and try again, but when I do this, I have this error message: "the VM seems to be used. The same thing when I want to create a new capture instant.

    I'm stuck and I have to solve that before Monday...

    Thanks in advance for the help.

    With the merger closed, open the package of vmwarevm of the VM (CTRL-click) and delete all the files and folders with a .lck extension. These files are used to lock the files logically and very probably contain stale data.

    BTW. do you really need > 20 shots? Too many clichés can slow down the virtual machine significantly.

    André

  • Could not start the virtual machine after you use vmkfstools to resize - HELP!

    I thought I knew what I was doing, but apparently not...

    I tried to increase the size of a VM over 36 GB drive and now I can not start the server. Here's the change front of directory list:

    -rw - 1 root root 16781312 Sep 20 19:46 PJAEast-DL01-000001 - delta.vmdk

    -rw - 1 root root 325 28 August to 01:52 PJAEast-DL01 - 000001.vmdk

    -rw - 1 root root 4096 9 February 14:55 PJAEast-DL01-000002 - delta.vmdk

    -rw - 1 root root 277 9 February 14:55 PJAEast-DL01 - 000002.vmdk

    -rw - 1 root root 28201 28 August to 01:52 PJAEast-DL01 - Snapshot1.vmsn

    -rw - 1 root root 28267 9 February 14:55 PJAEast-DL01 - Snapshot2.vmsn

    -rw - 1 root root 131604480 26 August at 08:04 PJAEast-DL01 - flat hard

    -rw - 1 root root 8684 25 August at 21:03 PJAEast - DL01.nvram

    -rw - 1 root root 589 25 August at 15:18 PJAEast - DL01.vmdk

    -rw - r - r - 1 root root 1042 28 August to 01:52 PJAEast - DL01.vmsd

    -rwxr-xr-x 1 root root 2779 Feb 9 15:10 PJAEast - DL01.vmx

    -rw - r - r - 1 root root 267 Feb 9 15:10 PJAEast - DL01.vmxf

    -rw - 1 root root 9898631168 9 February 14:54 PJAEast-DL01_1-000001 - delta.vmdk

    -rw - 1 root root 331 28 August to 01:52 PJAEast-DL01_1 - 000001.vmdk

    -rw - 1 root root 73728 9 February 14:55 PJAEast-DL01_1-000002 - delta.vmdk

    -rw - 1 root root 283 9 February 14:55 PJAEast-DL01_1 - 000002.vmdk

    -rw - 1 root root 36322836480 28 August at 01:41 PJAEast-DL01_1 - flat hard

    -rw - 1 root root 597 25 August at 15:18 PJAEast - DL01_1.vmdk

    -rw - r - r - 1 root root 78710 25 August at 16:06 vmware - 1.log

    -rw - r - r - 1 root root 68108 25 August at 20:43 2.log - vmware

    -rw - r - r - 1 root root 122302 28 August at 01:41 vmware - 3.log

    -rw - r - r - 1 root root 90557 Sep 20 19:54 4.log - vmware

    -rw - r - r - 1 root root 69453 9 February 14:54 vmware.log

    Then, I run the command:

    vmkfstools x 256g PJAEast - DL01_1.vmdk

    And now the virtual machine does not start, return an error: "the virtual disk parent has been changed since the child was created."

    The directory listing is now ("BOLD" indicates the change of information post-vmkfstools):

    -rw - 1 root root 16781312 Sep 20 19:46 PJAEast-DL01-000001 - delta.vmdk

    -rw - 1 root root 325 28 August to 01:52 PJAEast-DL01 - 000001.vmdk

    -rw - 1 root root 4096 Feb 9 16:12 PJAEast-DL01-000003 - delta.vmdk

    -rw - 1 root root 277 Feb 9 16:12 PJAEast-DL01 - 000003.vmdk

    -rw - 1 root root 28201 28 August to 01:52 PJAEast-DL01 - Snapshot1.vmsn

    -rw - 1 root root 28267 9 February 14:55 PJAEast-DL01 - Snapshot2.vmsn

    -rw - 1 root root 131604480 26 August at 08:04 PJAEast-DL01 - flat hard

    -rw - 1 root root 8684 Feb 9 16:12 PJAEast - DL01.nvram

    -rw - 1 root root 589 25 August at 15:18 PJAEast - DL01.vmdk

    -rw - r - r - 1 root root 1015 28 August 01:52 PJAEast - DL01.vmsd

    -rwx - 1 root root 2779 Feb 9 16:12 PJAEast - DL01.vmx

    -rw - 1 root root 267 Feb 9 16:12 PJAEast - DL01.vmxf

    -rw - 1 root root 9898631168 9 February 14:54 PJAEast-DL01_1-000001 - delta.vmdk

    -rw - 1 root root 331 28 August to 01:52 PJAEast-DL01_1 - 000001.vmdk

    -rw - 1 root root 73728 Feb 9 16:12 PJAEast-DL01_1-000003 - delta.vmdk

    -rw - 1 root root 283 Feb 9 16:12 PJAEast-DL01_1 - 000003.vmdk

    -rw - 1 root root 274877906944 28 August 01:41 PJAEast-DL01_1 - flat hard

    -rw - 1 root root 599 9 Feb 16:11 PJAEast - DL01_1.vmdk

    -rw - r - r - 1 root root 68108 25 August at 20:43 2.log - vmware

    -rw - r - r - 1 root root 122302 28 August at 01:41 vmware - 3.log

    -rw - r - r - 1 root root 90557 Sep 20 19:54 4.log - vmware

    -rw - r - r - 1 root root 69453 9 February 14:54 5.log - vmware

    -rw - r - r - 1 root root 39510 Feb 9 16:12 6.log - vmware

    -rw - r - r - 1 root root 39411 Feb 9 16:12 vmware - 7.log

    -rw - r - r - 1 root root 39410 Feb 9 16:14 vmware.log

    I can't do anything else until I get comments. Can anyone recommend a way to solve this problem?

    I thought I knew what I was doing, but apparently not...

    I agree

    Two a problem with the new drive.

    1. You get the error message comes from the basic disk with a different size than the disks of the snapshot.
    2. With a size of 256 GB, you will not be able to create snapshots of the disk (on ESXi prior to 5.0 with a block size of 1 MB)

    What you can try to do is to edit the file PJAEast - DL01_1.vmdk :

    • 536870912 VMFS 'PJAEast-DL01_1 - flat hard' RW--> RW 70943040 VMFS 'PJAEast-DL01_1 - flat hard. "
    • DDB. Geometry.Cylinders = "33418'-> ddb.geometry.cylinders = '4416.

    After that, I would recommend to clone the virtual disk to a new one, replace the virtual disk in the virtual machine settings and resize it to a maximum of 254GB (see "calculates the time system required by the snapshot files" at http://kb.vmware.com/kb/1012384)

    • vmkfstools-i PJAEast-DL01_1 - 000003.vmdk PJAEast - DL01_1a.vmdk

    André

  • Unable to start the virtual machine and snapshots are missing from snapshot Manager.

    Hello

    I'm new here in the VMWARE communities and I don't know if I'm posting this survey in the right place. I am currently using VMWARE Workstation 9. The issue I'm having is that I can not start my VM. The error that says:

    vm error.png

    This is an overview of my settings:

    settings.png

    When I try to get a snapshot I can go back, I get this snapshot Manager screen:

    snapshot.png

    I checked the files on the directory of the virtual machine. The snapshot files are still there.

    I tried to solve the problem by editing the configuration of virtual machine file to use another vmdk. I got an error saying something about the parent and the child are not synchronized. Sorry I don't have a screenshot of that. I also tried to make a copy of one of the other VMDK and rename it to match with the name of the missing file. That also made me anywhere I tried looking on the net but I get answers to other vmware ESXi and vSphere products. So I don't know if they apply to my current situation.

    At this point, I'm hoping to recover my machine or at least be able to use snapshots. Please notify.

    I think that the restoration was the best way to solve this problem. I actually checked the different files, but it looks like I missed something. In any case, create snapshots with the virtual machine in a state engine is my personal preference. It is not only to save disk space (since there is no need to preserve the current state of memory), but also provides a consistent state. As for the number of snapshots, you're always on the stop side, and if you are not having issue of performace with small changes you make you should be ok. In case there is a performance problem, you may consider to store the computer virtual on an SSD that will certainly help.

    Since the Center of Documentation of VMware Workstation 10

    To the premises of the virtual machines, you can take more than 100 snapshots for each linear process. For shared virtual computers and remote, you can take a maximum of 31 snapshots for each linear process.

    André

    Post edited by: a.p. corrected fault, "SSD" instead of "SD".

  • Unable to start the virtual Center after removal of the database

    Hello

    I've migrated my database of vc sql200O for sql 2008.

    The migration went smooth without error (I followed the vmware 7960893 kb). I changed the dsn system on the new server name.

    But when I try to start the virtual Center service that it fails.

    I get this error in the log:

    VDB::connection:TestConnection SQLExecute failed: S 42 02:208

    VDB::LockRepositoryHelper Missing table Vpx_dual

    Could not initialize the VMware VirtualCenter. Closing...

    Force the closure of VMware VirtualCenter now

    Someone at - it an idea?

    New server is win2008 64 bit thanks

    If anyone can confirm this?

    then of course, you have tested the connection, but you have not read the manual?

    NO, this is NOT supported, there is your problem.

  • Internal error starting the Virtual Machine after Crash

    I'm in Yosemite and when running a virtual Windows 7 machine it suddenly stopped working. The beach ball slider off for half an hour and I was force quit Fusion 7. While trying to launch the virtual machine again, I get a message "Internal error" generic.

    Already tried: restart my Mac, repair permissions, uninstall/reinstall Fusion 7, even try to fix the main VMDK file (it is divided and returned without error).

    Any suggestions?

    Looks like you run your virtual machines from a disk formatted in NTFS by using the Paragon NTFS driver.  Have you tried to use disk utility to check the integrity of the NTFS partition?  Error messages suggest strongly that the NTFS file system may be corrupted or there may be a problem with the NTFS driver.  (I think that the NTFS driver is not available when you used the recovery environment to check disks).

    If this volume extracted also OK through the disk utility first aid option, you pourriez either requires an upgrade of your driver of Paragon NTFS since version 11 to version 12 (which their Web site claims is the first version with support of Yosemite), or you may need to set the drive on a Windows machine and have windows to control its own native on the volume file system in Paragon file system audit case missing something.

    See you soon,.

    --

    Darius

  • Spontaneous restarting the virtual machine after migration

    Hello

    I had a problem today: I was going to my 3.5u3 patch ESX servers with December 2 patches, so I migrated (vmotion) my VM to host another of my cluster 2 on 6 machines spontaneously restarted moments after the migration. The same penalty was described here:http://www.ivobeerens.nl/?p=180 someone faces (and solved) this problem?

    Thanks in advance,

    Nicolas

    You use VMM in HA?  If so, this is a known issue and if you use 3.5.0U3, you must have obtained an email about this issue.

    http://KB.VMware.com/kb/1007899

  • Start the virtual machine and wait for WF, does not connect to the computer virtual for Vds (Windows 2008 R2)

    Hello

    See a strange problem with only a Windows 2008 R2 model. When you use the built-in function "Start VM and wait" workflow to start a virtual machine (after conversion from a template either manually, or through workflow) NIC of the virtual machine (I tried VMXNET3 and e1000 times) does not connect to the problem. Vds can be replicated in a different VCenter, so spreading the vds. I also created several models of Windows 2008 r2 and all have this problem.

    If the model is converted and started outside VRO, it gets an IP from and is connected to the VDS immediately

    Tried add/remove the NIC of the model

    Tried to move the comments on different hosts

    Tried to create a new template from scratch

    NOTE: Windows 2012 R2 doesn't have this problem in the same circles, the only constant is the Windows 2008 R2 being started by VRO.

    Anyone seen this before?

    I found this article and it fixed my problem VMware KB: registration or the deployment of a virtual computer model fails apparently a fix a problem in ESX 5.1, 5.5 (I used the option to get around and things are good)

  • ZPrint accident of process before starting the virtual machine

    I see the following messages in system.log everytime my Windows VM starts. These accidents zprint apparently never happened before today. There is no previous accident for zprint report. The messages below always repeat 3 times before other messages on VM, commissioning.

    09/02/15 21:20:33... Report of incidents ReportCrash [7538] advice for zprint processes [7537]

    09/02/15 21:20:33... ReportCrash [7538] error saved crashreport to /Library/Logs/CrashReporter/zprint_2015-02-09-212033_...crash using uid: gid 0: 0, euid: egid 0: 0

    Extract from the report of crash:

    Exception type: EXC_ARITHMETIC (SIGFPE)

    Exception codes: EXC_I386_DIV (division by zero)

    Why the merger issues the command zprint? If she has always done so before, why is zprint now blocking?

    (If I run the terminal zprint command without specifying the name of the area it blocks the same way.)

    Anyone have any ideas?

    Some things that I did today that might be important:

    My Mac Pro locked up while I was running Firefox (open Youtube and Yahoo pages).  I pushed the power button / stop. The virtual Windows machine was running at the time.

    After restarting the Mac Pro, when I tried to start the virtual machine, I got the message: "... vmdk has one or more internal errors that cannot be repaired. The only option is to restore from a backup copy of this disk... »

    So I renamed the corrupt VM bundle, then drag-and - drop copied all of the virtual machine to a backup volume.

    When I started the virtual machine restored, I noticed the crash zprint above messages.

    Thank you!

    OS X 10.5.8, Fusion 3.1.4

    Fusion uses zprint to internal information of the kernel which are very difficult to obtain by other means.

    Given how long it has been since OS X 10.5.8 or Fusion 3.1.4 were changed, either something has been corrupted or something has changed in the system environment for that to happen early.  I can't find any other references to zprint triggering a SIGFPE anywhere else on the Internet...

    If you do not already done, I highly recommend running disk utility and check (and possibly repair) the disks of your host before doing anything else.

    See you soon,.

    --

    Darius

  • Cannot start the virtual machine in a HA cluster

    I installed a HA cluster with 2 hosts configured in it.

    I disabled the admission on the cluster control.

    Each host is a Dell Dimension 9150 with 2.8 GHz CPU and 2 GB of memory.

    I created a virtual machine on a host with 1 vCPU and 512 MB memory.

    However when I try to start the virtual machine, I see the task of 'Power on a virtual machine' fail with the status "the host has sufficient memory resources to satisfy the reserve."

    Why this is happening and how do after that?

    You have the minimum RAM required by ESX ESX 4.0.

    Add more RAM to play also some virtual machines.

    André

Maybe you are looking for