XenFlo
Contributor
Contributor

Disk Creation Fails - After a day

Hi !

I am having trouble converting a physical Windows 2000 Server with SQL 2000 to a virtual machine.

When starting the converter it will hang at 1% Completion, the target disk drive is is busy an the vmdk files are growing in size - but after a day or two the operation stops with the following error :

\[#8] \[2007-07-18 15:12:09.546 'App' 1816 info] \[localVMCreator,784] Creating Local Disks

\[#8] \[2007-07-18 15:12:09.546 'App' 1816 verbose] \[localVMCreator,890] Creating Local Disk; Disk name= F:\Import\SQL_KuP\SQL_KuP.vmdk; Mode = persistent; Is2GBSplit = No; preallocate space = Yes; is disk Flat = Yes; size = 143252629

\[#6] \[2007-07-19 16:12:30.140 'App' 2660 info] \[localVMCreator,921] FAILURE TO CREATE Disk name= F:\SQL_KuP\SQL_KuP.vmdk DiskLib error = 95027209

\[#6] \[2007-07-19 16:12:30.265 'App' 2660 info] \[,0] DISKLIB-LINK : "F:\SQL_KuP\SQL_KuP.vmdk" : failed to open (The system cannot find the file specified).

\[#6] \[2007-07-19 16:12:30.265 'App' 2660 info] \[,0] DISKLIB-CHAIN : "F:\SQL_KuP\SQL_KuP.vmdk" : failed to open (The system cannot find the file specified).

\[#6] \[2007-07-19 16:12:30.265 'App' 2660 info] \[,0] DISKLIB-LIB : Failed to open 'F:\SQL_KuP\SQL_KuP.vmdk' with flags 0x2 (The system cannot find the file specified).

\[#6] \[2007-07-19 16:12:30.265 'App' 2660 error] \[diskHandleWrapper,99] DiskLib_Open failed on F:\SQL_KuP\SQL_KuP.vmdk with error The system cannot find the file specified.

\[#6] \[2007-07-19 16:12:30.265 'App' 2852 info] \[imageProcessingTaskStep,194] VmiImportTask::task\{26} step "create VM" destroyed

\[#6] \[2007-07-19 16:12:30.265 'App' 2852 error] \[vmiImportTask,305] Error during creation of target VM

\[#6] \[2007-07-19 16:12:30.265 'App' 2852 info] \[imageProcessingTaskStep,194] VmiImportTask::task\{26} step "create and clone to VM" destroyed

\[#6] \[2007-07-19 16:12:30.265 'App' 2852 info] \[imageProcessingTaskStep,194] VmiImportTask::task\{26} step "Clone VM" destroyed

\[#6] \[2007-07-19 16:12:30.265 'App' 2852 error] \[imageProcessingTaskImpl,552] VmiImportTask::task\{26}: Image processing task has failed with MethodFault::Exception: sysimage.fault.DiskLibConnectionFault

\[#6] \[2007-07-19 16:12:30.265 'App' 2852 verbose] \[imageProcessingTaskImpl,154] VmiImportTask::task\{26}: SetState to error

\[#6] \[2007-07-19 16:12:30.281 'App' 2852 warning] \[ufaUtils,259] failed to dispose id=computer=\{2202622998d91b89190c31c8980df6baba3cfd5d} type=\[class Sysimage::ComputerStub:01DC5600] e=vmodl.fault.SecurityError

\[#6] \[2007-07-19 16:12:30.281 'App' 2852 verbose] \[imageProcessingTaskImpl,123] VmiImportTask::task\{26} being destroyed

\[#8] \[2007-07-19 16:12:30.281 'App' 1816 info] \[localVMCreator,921] FAILURE TO CREATE Disk name= F:\Import\SQL_KuP\SQL_KuP.vmdk DiskLib error = 95027209

\[#8] \[2007-07-19 16:12:30.281 'App' 1816 info] \[,0] DISKLIB-LINK : "F:\Import\SQL_KuP\SQL_KuP.vmdk" : failed to open (The system cannot find the file specified).

\[#8] \[2007-07-19 16:12:30.281 'App' 1816 info] \[,0] DISKLIB-CHAIN : "F:\Import\SQL_KuP\SQL_KuP.vmdk" : failed to open (The system cannot find the file specified).

\[#8] \[2007-07-19 16:12:30.281 'App' 1816 info] \[,0] DISKLIB-LIB : Failed to open 'F:\Import\SQL_KuP\SQL_KuP.vmdk' with flags 0x2 (The system cannot find the file specified).

\[#8] \[2007-07-19 16:12:30.281 'App' 1816 error] \[diskHandleWrapper,99] DiskLib_Open failed on F:\Import\SQL_KuP\SQL_KuP.vmdk with error The system cannot find the file specified.

\[#8] \[2007-07-19 16:12:30.281 'App' 2836 info] \[imageProcessingTaskStep,194] VmiImportTask::task\{32} step "create VM" destroyed

\[#8] \[2007-07-19 16:12:30.281 'App' 2836 error] \[vmiImportTask,305] Error during creation of target VM

\[#8] \[2007-07-19 16:12:30.281 'App' 2836 info] \[imageProcessingTaskStep,194] VmiImportTask::task\{32} step "create and clone to VM" destroyed

\[#8] \[2007-07-19 16:12:30.281 'App' 2836 info] \[imageProcessingTaskStep,194] VmiImportTask::task\{32} step "Clone VM" destroyed

\[#8] \[2007-07-19 16:12:30.296 'App' 2836 error] \[imageProcessingTaskImpl,552] VmiImportTask::task\{32}: Image processing task has failed with MethodFault::Exception: sysimage.fault.DiskLibConnectionFault

\[#8] \[2007-07-19 16:12:30.296 'App' 2836 verbose] \[imageProcessingTaskImpl,154] VmiImportTask::task\{32}: SetState to error

\[#8] \[2007-07-19 16:12:30.359 'App' 2660 verbose] \[disposable,122] object explicitly disposed: VmiImportTask::task\{32}

\[#8] \[2007-07-19 16:12:30.359 'App' 2852 verbose] \[disposable,122] object explicitly disposed: computer=\{2202622998d91b89190c31c8980df6baba3cfd5d}

\[#8] \[2007-07-19 16:12:30.359 'App' 2852 verbose] \[diskSet,119] Cleaning up computer's child objects

\[#8] \[2007-07-19 16:12:30.359 'App' 2852 verbose] \[diskSet,135] Unregistring volume id=attVol=\{computer=,1} \[#8] \[2007-07-19 16:12:30.359 'App' 2852 verbose] \[diskSet,135] Unregistring volume id=attVol=\{computer=,2}

\[#8] \[2007-07-19 16:12:30.359 'App' 2852 verbose] \[diskSet,145] Unregistring disk id=disk=\{9ba2498e79b590fd75d62d8b65fa945c367c0fea}

\[#8] \[2007-07-19 16:12:30.359 'App' 2852 verbose] \[diskSet,145] Unregistring disk id=disk=\{5c822bdfe4346fded26a0a0854198ded817c6666}

\[#8] \[2007-07-19 16:12:30.359 'App' 2660 verbose] \[imageProcessingTaskImpl,123] VmiImportTask::task\{32} being destroyed

\[2007-07-19 16:12:30.437 'App' 2660 verbose] CloseSession called for session id=EDEAC102-928E-4142-B121-D9457BAC10E6

\[2007-07-19 16:12:30.437 'VmdbAdapter' 2660 verbose] Removed vmdb connection /db/connection/#8/

\[#9] \[2007-07-20 09:28:16.625 'App' 2832 info] Impersonating user Administrator in session 27BE29C0-01F3-433B-841D-DECAB6A0F672

\[2007-07-20 09:28:16.718 'App' 2852 verbose] CloseSession called for session id=27BE29C0-01F3-433B-841D-DECAB6A0F672

\[2007-07-20 09:28:16.718 'VmdbAdapter' 2852 verbose] Removed vmdb connection /db/connection/#9/

Checking the disk now, shows that the target disk drive only contains some kb of data.

Is this a problem with the external Disk Drive I'm using ? (usb-to-sata2 external HardDiskDrive), perhaps a problem with a running SQL Server on the Source Machine ?

Any hints appreciated

Flo

0 Kudos
4 Replies
continuum
Immortal
Immortal

Why do you try to hotclone a SQL server ?

Do you expect to get a consistent disk after such a long time - you didn't even stop the SQL-server ...

Use ghost or the coldclone CD instead

just my 2 Pfennigs

Do you need support with a recovery problem ? - send a message via skype "sanbarrow"
0 Kudos
theanykey
Virtuoso
Virtuoso

any data passed to sql between the point you start converter and the point where it finishes will be lost in your new VM

your log file is incomplete - there is essential data that was not included.

you may need to stop sql if you believe it may be locking the volume. Same goes for any antivirus or backup agents running on the physical

0 Kudos
XenFlo
Contributor
Contributor

hi

I will have another go an that machine tonight - hopefully stopping the SQl Server will help me get this machine to virtual.

If not i will go for a DD and configure my own VM-config file

0 Kudos
XenFlo
Contributor
Contributor

Hi !

Just letting you know it worked with the SQL Server being stopped.

The Conversion Process took 10 hours for 110GB.

Booting the machine in my VMWare Server right now - somehow hangs while readying network connections, but that shouldn't be a big problem to solve i hope Smiley Wink

0 Kudos