10 Replies Latest reply on Aug 20, 2009 2:28 AM by MKguy

    Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine

    lmayr Lurker

       

      Hi,

       

       

      I've downloaded and Installed Voncerter Standalone Client 4.0.0 on a Windows 2003 Machine.

       

       

      I tried to convert a physical RedHat 5 Machine into an virtual Machine (esx Server 3.5).

       

       

      The following error occured at 3%:

       

       

      Error: Failed to clone the volume mounted on '/boot' from 'machinename'.

       

       

      does anyone know what to do here?

       

       

      (I didn't make any further configurations except those which are offered in the wizard)

       

       

      regards,

       

       

      lmayr

       

       

        • 1. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
          vmweathers Expert

           

          Another customer recently had a similar issue where the 1st volume cloning failed because he was using a partial hostname and had not configured any DNS suffixes for the static IP settings of the Helper VM Network.  Please double check that.  If that doesn't solve your problem then please upload the logs from the task (The "Export logs..." link right above the event log at the bottom right.)

           

           

           

           

           

          (If your question has been resolved please mark the answers as "Helpful" or "Correct".)

           

           

          • 3. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
            sirinek Lurker

             

            Thanks. I had the same issue with /boot failing to clone and my P2V bombing at 3%

             

             

            Setting the suffix for the DNS configuration of my helper solved the problem.

             

             

            I am converting a RHEL4 machine into a virtual instance with vmware vcenter converter standalone client 4.0.1 build-161434.

             

             

            Can only the original poster mark your answer as helpful or correct? I don't see where it gives me the option.

             

             

             

             

             

            • 4. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
              ahachenberg Novice

              I think I'm having the same problem and my P2V fails at 3% as well.  After applying the DNS suffix to the helper configuration I was able to get to 4% but then the same error occured.  Did i do something wrong?  I tried setting up the P2V after aplying the DNS suffix fix with source information as just the DNS name, no suffix and then the FQDN, and even the IP.  all fail.

               

              my machine isnt RHEL tho, it's SLES 9.  does that make any difference?  

               

               

               

              attached log

              • 5. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
                vmweathers Expert

                You've attached the GUI log, which is insufficient to debug your issue.  Please select the task in the GUI and then export the task's logs.  Also, please create a new thread, since your problem is likely to be a different issue since you made it to 4%.

                 

                 

                 

                (If your question has been resolved please mark the answers as "Helpful" or "Correct".)

                • 6. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
                  ahachenberg Novice

                  Sorry about that attached is the correct log, I think.

                  • 7. Converter Standalone Linux P2V fails to clone /boot
                    MKguy Virtuoso

                    New thread from my post in http://communities.vmware.com/message/1341524#1341524.

                     

                    I'm stuck with the issue of failed cloning of the /boot partition at 3%.

                    Source machine is a RHEL 3 box.

                     

                    The DNS suffixes and servers are configured correctly in the converter task. I confirmed with tcpdump that the helper VM really does establish an SSH connection to the source machine. I also tried using only IP addresses in the task.

                    There is no firewall blocking communications between the converter server, the helper VM, source machine, vCenter or the ESX Host.

                     

                    Note that I cloaked some specific information with stuff like or in those logs:

                     

                    +All Users vmware-converter-server-2.log+

                     

                    RecordOp ADD: event[35], task-1

                    HTTP Response: Complete (processed 6072 bytes)

                    Caught an exception while waiting on the agent task to complete. Gathering agent logs before propogating the exception further. Exception message: converter.fault.CloneFault

                     

                     

                     

                     

                     

                    All Users vmware-converter-agent-3.log

                     

                    Volume-based cloning --> updates, state: 1, percentage: 2, xfer rate (Bps): <unknown>

                    ConvertTask updates, state: 1, percentage: 3, xfer rate (Bps): <unknown>

                    RecordOp ASSIGN: info, task-1

                    HTTP Response: Complete (processed 1131 bytes)

                    updating on event (converter.event.UnixP2VVolumeCloningEvent) {

                        dynamicType = <unset>,

                        key = 2,

                        chainId = 1,

                        type = "info",

                        createdTime = "2009-08-19T13:14:32.617527Z",

                        userName = "",

                        fullMessage = <unset>,

                        hostName = "[IP_ADDRESS]",

                        sourceMountPoint = "/boot",

                    }

                    RecordOp ADD: event[8], task-1

                    User agent is 'VMware-client/4.0.0'

                    HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)

                    Converter Task GetEvent(taskID=task-1)

                    HTTP Response: Complete (processed 976 bytes)

                    User agent is 'VMware-client/4.0.0'

                    HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)

                    updating on event (converter.event.UnixP2VVolumeCloneFailedEvent) {

                        dynamicType = <unset>,

                        key = 3,

                        chainId = 1,

                        type = "error",

                        createdTime = "2009-08-19T13:14:37.654289Z",

                        userName = "",

                        fullMessage = <unset>,

                        hostName = "[IP_ADDRESS]",

                        sourceMountPoint = "/boot",

                        reason = (converter.fault.CloneFault) {

                           dynamicType = <unset>,

                           faultCause = (vmodl.MethodFault) null,

                           description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user --host --port 22 --sourceMountPoint /boot --targetMountPoint /mnt/p2v-src-root/boot --sshConfigFile /usr/lib/vmware-converter/ssh.conf --sourceTarOption --sparse --useSudo' failed. Return code: 2; message:

                    /usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf @[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner  -C /mnt/p2v-src-root/boot -y -xf -

                    Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.

                    xmalloc: zero size

                    tar: This does not look like a tar archive

                    tar: Error exit delayed from previous errors

                    ",

                           msg = "",

                        },

                    }

                    RecordOp ADD: event[9], task-1

                    Converter Task GetEvent(taskID=task-1)

                    HTTP Response: Complete (processed 1853 bytes)

                    updating on taskInfo (converter.task.TaskInfo) {

                        dynamicType = <unset>,

                        key = "task-1",

                        task = 'converter.task.Task:task-1',

                        name = <unset>,

                        descriptionId = "",

                        userName = <unset>,

                        source = <unset>,

                        target = <unset>,

                        state = "error",

                        cancelled = false,

                        cancelable = true,

                        data = <unset>,

                        error = (converter.fault.CloneFault) {

                           dynamicType = <unset>,

                           faultCause = (vmodl.MethodFault) null,

                           description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user --host --port 22 --sourceMountPoint /boot --targetMountPoint /mnt/p2v-src-root/boot --sshConfigFile /usr/lib/vmware-converter/ssh.conf --sourceTarOption --sparse --useSudo' failed. Return code: 2; message:

                    /usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf @[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner  -C /mnt/p2v-src-root/boot -y -xf -

                    Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.

                    xmalloc: zero size

                    tar: This does not look like a tar archive

                    tar: Error exit delayed from previous errors

                    ",

                           msg = "",

                        },

                        result = <unset>,

                        progress = 2,

                        estimatedTimeRemaining = <unset>,

                        transferRate = <unset>,

                        queueTime = "2009-08-19T13:12:35.448724Z",

                        startTime = "2009-08-19T13:12:35.448724Z",

                        completeTime = "2009-08-19T13:14:37.656567Z",

                        eventChainId = 1,

                        vcTask = <unset>,

                        logBundleInfo = (converter.DiagnosticManager.TaskLogBundleInfo) null,

                    }

                    User agent is 'VMware-client/4.0.0'

                    HTTP Response: Client: NeedsContentLength: false UnderstandsChunking: true CanKeepAlive: true (PresetContentLength -1)

                    Volume-based cloning --> updates, state: 4, percentage: 2, xfer rate (Bps): <unknown>

                     

                     

                     

                     

                     

                     

                    converter-gui-5.log

                     

                    "2009-08-19T13:12:37.700078Z",

                                               userName = "[VC_USERNAME]",

                                               fullMessage = "Partitioning the target disks.",

                                            },

                                            (converter.event.UnixP2VDiskFormattingEvent) {

                                               dynamicType = <unset>,

                                               key = 32,

                                               chainId = 23,

                                               type = "info",

                                               createdTime = "2009-08-19T13:12:49.825234Z",

                                               userName = "[VC_USERNAME]",

                                               fullMessage = "Formatting the target partitions.",

                                            },

                                            (converter.event.UnixP2VVolumeCloningEvent) {

                                               dynamicType = <unset>,

                                               key = 33,

                                               chainId = 23,

                                               type = "info",

                                               createdTime = "2009-08-19T13:14:34.826578Z",

                                               userName = "[VC_USERNAME]",

                                               fullMessage = "Starting to clone the volume mounted on '/boot' from '[IP_ADDRESS]'.",

                                               hostName = "[IP_ADDRESS]",

                                               sourceMountPoint = "/boot",

                                            },

                                            (converter.event.UnixP2VVolumeCloneFailedEvent) {

                                               dynamicType = <unset>,

                                               key = 34,

                                               chainId = 23,

                                               type = "error",

                                               createdTime = "2009-08-19T13:14:39.748516Z",

                                               userName = "[VC_USERNAME]",

                                               fullMessage = "Failed to clone the volume mounted on '/boot' from '[IP_ADDRESS]'.",

                                               hostName = "[IP_ADDRESS]",

                                               sourceMountPoint = "/boot",

                                               reason = (converter.fault.CloneFault) {

                                                  dynamicType = <unset>,

                                                  faultCause = (vmodl.MethodFault) null,

                                                  description = "'/usr/lib/vmware-converter/copyFileSystem.sh --sshClient /usr/lib/vmware-converter/ssh --user --host --port 22 --sourceMountPoint /boot --targetMountPoint /mnt/p2v-src-root/boot --sshConfigFile /usr/lib/vmware-converter/ssh.conf --sourceTarOption --sparse --useSudo' failed. Return code: 2; message:

                    /usr/lib/vmware-converter/ssh -z -F /usr/lib/vmware-converter/ssh.conf @[IP_ADDRESS] -p 22 "sudo tar --one-file-system --sparse -C /boot -cf - ." | tar --numeric-owner  -C /mnt/p2v-src-root/boot -y -xf -

                    Warning: Permanently added '[IP_ADDRESS]' (RSA) to the list of known hosts.

                    xmalloc: zero size

                    tar: This does not look like a tar archive

                    tar: Error exit delayed from previous errors

                    ",

                                                  msg = "An error occurred during the conversion.",

                                               },

                                            },

                                            (converter.event.VmRemovedEvent) {

                                               dynamicType = <unset>,

                                               key = 35,

                                               chainId = 23,

                                               type = "info",

                                               createdTime = "2009-08-19T13:15:04.092577Z",

                                               userName = "[VC_USERNAME]",

                                               fullMessage = "Removed the virtual machine '[VM_NAME]'.",

                                               vmName = "[VM_NAME]",

                     

                     

                    As I see it, it boils down to this line:

                    tar: This does not look like a tar archive

                    tar: Error exit delayed from previous errors

                     

                     

                    Any help on this?

                     

                     

                     

                    @vmweathers

                    What exact commands am I supposed to run from another Linux machine to imitate the helper VM? I not entirely sure on what I'm supposed to run from the logs.

                    The issue in http://communities.vmware.com/message/1228109#1228109 seems not to be related.

                    What kind of sshd configuration issue do you have in mind?

                    • 8. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
                      MKguy Virtuoso

                      By the way, can I file a support request for this converter standalone issue if I have a valid SNS for vCenter4 with converter enterprise?

                      • 9. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
                        vmweathers Expert

                        @MKguy

                         

                        This definitely seems like a different problem, so it should be in a new thread to avoid confusing this existing resolved thread.

                         

                        I would suspect a configuration problem with sshd on the source. Here was a similar issue, though it had a different failure in tar:   http://communities.vmware.com/message/1228109

                         

                        I assume you would be able to submit an SR, but first you should try debugging this further by trying to do the same "tar over SSH" command that we are doing from the Converter Helper VM.  You should try it from another VM on the same subnet of the target ESX to most closely mimic the problematic scenario.

                         

                         

                         

                         

                        (If your question has been resolved please mark the answers as "Helpful" or "Correct".)

                        • 10. Re: Failed to clone the volume mounted on '/boot' from REDHAT Enterprise 5 machine
                          MKguy Virtuoso

                          @vmweathers

                          New thread here: http://communities.vmware.com/thread/227203

                           

                          What exact commands am I supposed to run from another Linux machine to imitate the helper VM? I not entirely sure on what I'm supposed to run from the logs.

                          The issue in http://communities.vmware.com/message/1228109#1228109 seems not to be related.

                          What kind of sshd configuration issue do you have in mind?