VMware Cloud Community
im_chc
Contributor
Contributor

Cannot do P2V saving the vm file to a USB-attached storage

Hi all,

Thanks for the help in advance!

I am attempting to do a P2V to a disk locally attached to the source computer, at the end it failed, and the error message was not too helpful:

"A general system error occurred: unknown internal error"

I'm not sure if it matters, but the vm image is to be saved to an SATA harddisk connected via a USB port (I have some gadgets to achieve this)

I am attaching the log files at C:\ProgramData\VMware\VMware vCenter Converter Standalone\logs

I can provide more info if I have been too brief on the matter.

The job is as follows:

2014-03-23T18:04:07.258+08:00 [06896 info 'Default'] === [Converter::Server::Conversion::ConversionManagerImpl::CreateJob] ConversionJobSpec:

--> (converter.server.conversion.ConversionJobSpec) {

-->    dynamicType = <unset>,

-->    name = "ConversionJob_520f2acd-69ea-e651-8fd3-ed83a3b698aa",

-->    description = <unset>,

-->    firstRun = <unset>,

-->    startSuspended = <unset>,

-->    source = (converter.ComputerSpec) {

-->       dynamicType = <unset>,

-->       location = (converter.ComputerSpec.LiveComputerLocation) {

-->          dynamicType = <unset>,

-->          hostname = "",

-->          port = <unset>,

-->          username = <unset>,

-->          password = <unset>,

-->          osType = "windowsOs",

-->          verifyPeer = <unset>,

-->          sslThumbprint = <unset>,

-->       },

-->    },

-->    conversionParams = (converter.params.ConversionParams) {

-->       dynamicType = <unset>,

-->       osInstanceBootLoaderEntry = (converter.info.BootConfigInfo.BootLoaderEntrySpec) null,

-->       doClone = true,

-->       cloningParams = (converter.params.CloningParams) {

-->          dynamicType = <unset>,

-->          target = (converter.params.TargetVmSpec) {

-->             dynamicType = <unset>,

-->             name = "MACBOOK",

-->             location = (converter.params.TargetVmSpec.HostedVmLocation) {

-->                dynamicType = <unset>,

-->                directory = "M:\convert macbook to vm",

-->                vmxFileName = <unset>,

-->                networkUsername = <unset>,

-->                networkPassword = <unset>,

-->             },

-->             productVersion = "workstation10x",

-->             hardwareVersion = <unset>,

-->          },

-->          storageParams = (converter.params.StorageParams) {

-->             dynamicType = <unset>,

-->             cloningMode = "volumeBasedCloning",

-->             diskControllerType = "scsiLsiLogicSAS",

-->             targetDiskParams = (converter.params.StorageParams.TargetDiskParams) [

-->                (converter.params.StorageParams.HostedTargetDiskParams) {

-->                   dynamicType = <unset>,

-->                   sourceDiskId = "disk-1002",

-->                   volumesToClone = (converter.params.StorageParams.VolumeCloningParams) [

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "Disk#0_Partition#1",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      },

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "\WindowsBitmapDriverVolumeId=[44-4D-49-4F-3A-49-44-3A-6D-6F-23-77-A1-B4-AA-49-A8-73-23-DD-E4-CF-62-A0]",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      },

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "\WindowsBitmapDriverVolumeId=[44-4D-49-4F-3A-49-44-3A-7A-6C-67-00-AE-7D-80-42-83-20-25-5E-A6-51-4A-EA]",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      },

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "\WindowsBitmapDriverVolumeId=[44-4D-49-4F-3A-49-44-3A-0A-7F-E7-FE-26-37-AE-46-A3-55-09-30-11-98-44-CC]",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      }

-->                   ],

-->                   diskType = "monolithicSparse",

-->                   lvg = false,

-->                   gpt = true,

-->                },

-->                (converter.params.StorageParams.HostedTargetDiskParams) {

-->                   dynamicType = <unset>,

-->                   sourceDiskId = "disk-1003",

-->                   volumesToClone = (converter.params.StorageParams.VolumeCloningParams) [

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "Disk#1_Partition#1",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      },

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "Disk#1_Partition#2",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      },

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "Disk#1_Partition#3",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      },

-->                      (converter.params.StorageParams.VolumeCloningParams) {

-->                         dynamicType = <unset>,

-->                         sourceVolumeId = "\WindowsBitmapDriverVolumeId=[D6-E9-B6-05-00-00-B0-10-07-00-00-00]",

-->                         resize = false,

-->                         newCapacityInBytes = <unset>,

-->                         newClusterSizeInBytes = <unset>,

-->                      }

-->                   ],

-->                   diskType = "monolithicSparse",

-->                   lvg = false,

-->                   gpt = false,

-->                }

-->             ],

-->             skipUnwantedFiles = true,

-->             useBitmapDriver = <unset>,

-->             intermediateImage = <unset>,

-->             modifiedClustersOnly = <unset>,

-->             vmxDatastoreName = <unset>,

-->             resizeRatio = <unset>,

-->             minVolumeSize = <unset>,

-->             optimizedPartitionAlignment = true,

-->          },

-->          networkParams = (converter.params.NetworkParams) {

-->             dynamicType = <unset>,

-->             preserveNicCount = true,

-->             preserveNicMapping = false,

-->             nic = (converter.params.NetworkParams.NicParams) [

-->                (converter.params.NetworkParams.HostedNicParams) {

-->                   dynamicType = <unset>,

-->                   connected = true,

-->                   connectionType = "bridged",

-->                }

-->             ],

-->          },

-->          basicHardwareParams = (converter.params.BasicHardwareParams) {

-->             dynamicType = <unset>,

-->             numCPUs = 2,

-->             numCoresPerSocket = 2,

-->             memoryMB = 1640,

-->          },

-->          incrementalP2VCloningParams = (converter.params.IncrementalP2VCloningParams) null,

-->          nextBitmapId = <unset>,

-->          snapshotSource = <unset>,

-->          preserveDeviceBacking = <unset>,

-->          preserveIdentity = <unset>,

-->          doSynchronize = false,

-->          doFinalize = <unset>,

-->          ovfParams = (converter.params.OvfParams) null,

-->          retainLimit = <unset>,

-->       },

-->       doReconfig = true,

-->       reconfigParams = (converter.params.ReconfigParams) null,

-->       doSynchronize = <unset>,

-->       doInstallTools = true,

-->       doCustomize = false,

-->       customizationParams = (converter.params.CustomizationParams) null,

-->       doUninstallAgent = false,

-->       powerOnTargetVM = <unset>,

-->       removeRestoreCheckpoints = true,

-->       helperVmNetworkParams = (converter.params.HelperVmNetworkParams) null,

-->       throttlingParams = (converter.params.ThrottlingParams) {

-->          dynamicType = <unset>,

-->          cpuThrottling = "none",

-->          networkBandwidthThrottlingInMB = <unset>,

-->       },

-->    },

-->    p2vSourceModificationSpec = (converter.server.conversion.P2VSourceModificationSpec) null,

-->    parentFolder = 'converter.server.conversion.ConversionFolder:ConversionFolder',

-->    synchronizeImmediately = <unset>,

-->    synchronizationStartTime = <unset>,

--> }

--> =====================

Reply
0 Kudos
3 Replies
POCEH
VMware Employee
VMware Employee

Your attachment doesn't contain files.

Reply
0 Kudos
im_chc
Contributor
Contributor

Oops, sorry

I've replaced the attached file

Reply
0 Kudos
POCEH
VMware Employee
VMware Employee

Unfortunately your disk C: is recognized as MBR partition, and error is:

2014-03-23T18:04:16.448+08:00 [07940 info 'Default'] Cannot mix MBR and GPT partitions, partition 0 is GPT!

2014-03-23T18:04:16.448+08:00 [07940 info 'Default'] Failed to create the partition Tables error:-1

but mixed GPT/MBR configurations are not supported.. the dual boot configurations are not supported too.

You can try to exclude second disk (BOOTCAMP) from conversion and try again.