VMware Cloud Community
krishnadevvl
Contributor
Contributor

P2V of a linux system is failed

Dear Team,

P2V of a linux (RHEL5.6) system is failed with following error.

FAILED: An error occurred during the conversion:

'/usr/lib/vmware-converter/copyFileSystem.sh did not finish producing output after 3600 seconds'

Please help us how to resolve this issue.

Regards,

Krishna Dev

Tags (1)
7 Replies
larstr
Champion
Champion

Krishna Dev,

Have you tried looking at the converter log?

Did you try the troubleshooting steps outlines here:

VMware Knowledge Base

If everything fails you could try converting the system using manual steps instead:

1. Download SystemRescueCD: http://sysresccd.org/

2. Create a new virtual machine with a disk of the same size as the physical source disk
3. Boot both the source system and the target virtual machine with the SystemRescueCD.
4. In the target virtual machine, run the command: nc -l -p 5000|lzop -d|dd of=/dev/sda
5. In the physical source system, run the command: dd if=/dev/sda|pv|lzop -1|nc 192.168.1.5 5000
6. You can see thestatus of the transfer in the source systems console.
7. If it's a linux guest and it doesn't boot properly after transferring, you might have to reinitialize grub: How to re-install GRUB bootloader on the Master Boot Record(MBR) in rescue mode - Red Hat Customer P...    or  https://www.gnu.org/software/grub/manual/legacy/Installing-GRUB-natively.html

Lars

krishnadevvl
Contributor
Contributor

Thank you Lars for your reply. I will try out the option mentioned  here and update the status.

Reply
0 Kudos
patanassov
VMware Employee
VMware Employee

Hello,

Converter uses 'tar' to copy all files from the source machine. This error usually is 'tar' becoming unresponsive practically indefinitely. IIRC this has happened previously while cloning some /home volumes.

Get the conversion logs, have a look at the helper log (it is buried deep down inside several tarballs) and check which volume causes the problem. If this is neither the root nor the boot one, try to convert w/o it (uncheck it in the wizard) and then copy the files manually after the conversion.

HTH,

Plamen

Reply
0 Kudos
krishnadevvl
Contributor
Contributor

Hi palmen,

/boot , /tmp migrations are completed. It got stuck during / migration.

Reply
0 Kudos
patanassov
VMware Employee
VMware Employee

That's not good. Reconfiguration can not pass without the root volume.

You may eventually try manual conversion.

Reply
0 Kudos
krishnadevvl
Contributor
Contributor

hi larstr,

I tried the steps mentioned in your post, but during the command  "dd if=/dev/sda|pv|lzop -1|nc 192.168.1.5 5000" exits without completing disk to disk cloning.

sometimes 8GB sometimes 24gb .. tried multiple times. but its not finish the complete disk to disk copy.

Regards,

Krishna dev

Reply
0 Kudos
larstr
Champion
Champion

Hi Krishna dev,

I've used that method several times with success.

How good is the network connection between the systems involved? Packet loss? Latency? Tried a different nic in the source host? It sounds like it exits the process prematurely, and I suspect it could have been the same problem you faced when using VMware Converter.

Lars

Reply
0 Kudos