vCenter

 View Only
  • 1.  Copy of VM from ESX to ESX fails at the same point

    Posted Mar 12, 2008 08:06 AM

    Hello,

    I'm trying to copy a VM from an ESX environment to another ESX environment via a 14.4MBit WAN Link. The VM contains of 4 Virtual Disks. It fails always at the same point, after 2 Disks were transferred, while starting the transfer of the 3rd Disk. As far as I understand from the log I get an "vim.fault.NoPermission", but I'm not sure if this is the root cause. Furthermore I have no idea why this may happen, cause the first 2 disks were transferred successfully. Besides this I believe I am Administrator on both ESX'. May someone have a look into the log and give me a hint?

    Further Informations:

    Source ESX: gbbn01sw-vc01, Version 3.0.2, Build 61618

    Target ESX: dejn01sw-vc01, Version 3.0.1, Build 42829

    VM Name: EULDROLL01, Windows 2003

    My Account on Source ESX: AD\tobini

    My Account on Target ESX: tobini

    VMware Converter Version: 3.0.2 Update 1 Build 62456

    Thanks and kind regards, tobini



  • 2.  RE: Copy of VM from ESX to ESX fails at the same point

    Posted Mar 12, 2008 12:42 PM

    I was told by VMware support, that this is a known problem with that Version of VMware converter. It will happen only for non-Operating System Disks if the transfer of the disk takes longer than one hour. Then the transfer times out. It will be fixed in a later major release of the converter.

    Workaround is to copy only the OS-Disk with the converter, and to copy the other disks for example by SCP. Following the script I got from them, but I was not able to test it until now:

    1. Convert disk 1 with VMware Converter

    2. Log on to the ESX server you are moving to.

    3. Determine the exact path to the VM. Example: /vmfs/volumes/UUID/myVM/

    4. Log out

    5. Log on to source ESX.

    6. Navigate to the directory of the VM.

    7. Copy the files of the remaining disks. Example:

    scp disk3.vmdk

    scp disk3-flat.vmdk

    They can also be copied by FTP if it is enabled on the Firewall of the ESX (see Configuration Tab of the ESX Hosts).

    8. In VC Edit the settings of the VM to make sure that disk 2, 3 and 4 are present.

    If they are not, add existing disk and select disk 2, 3 and 4.



  • 3.  RE: Copy of VM from ESX to ESX fails at the same point

    Posted Mar 12, 2008 03:03 PM

    You can also try shrinking the resulting disk by 1mb per each partition you are selecting to convert - thus forcing a file-by-file clone.