Unable to import vmdk Error: not a VMDK file
-
I have succesfully imported some vmdk files from my esxi host but one keeps failing on me:
Apr 24 10:04:36 xoa xo-server[4231]: error: Error: not a VMDK file Apr 24 10:04:36 xoa xo-server[4231]: at /opt/xen-orchestra/packages/xo-vmdk-to-vhd/src/vmdk-read.js:132:13 Apr 24 10:04:36 xoa xo-server[4231]: at Generator.next (<anonymous>) Apr 24 10:04:36 xoa xo-server[4231]: at asyncGeneratorStep (/opt/xen-orchestra/packages/xo-vmdk-to-vhd/dist/vmdk-read.js:20:103) Apr 24 10:04:36 xoa xo-server[4231]: at _next (/opt/xen-orchestra/packages/xo-vmdk-to-vhd/dist/vmdk-read.js:22:194) Apr 24 10:04:36 xoa xo-server[4231]: at AsyncResource.runInAsyncScope (async_hooks.js:197:9) Apr 24 10:04:36 xoa xo-server[4231]: at cb (/opt/xen-orchestra/node_modules/bluebird/js/release/util.js:355:42) Apr 24 10:04:36 xoa xo-server[4231]: at tryCatcher (/opt/xen-orchestra/node_modules/bluebird/js/release/util.js:16:23) Apr 24 10:04:36 xoa xo-server[4231]: at Promise._settlePromiseFromHandler (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:547:31) Apr 24 10:04:36 xoa xo-server[4231]: at Promise._settlePromise (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:604:18) Apr 24 10:04:36 xoa xo-server[4231]: at Promise._settlePromiseCtx (/opt/xen-orchestra/node_modules/bluebird/js/release/promise.js:641:10) Apr 24 10:04:36 xoa xo-server[4231]: at _drainQueueStep (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:97:12) Apr 24 10:04:36 xoa xo-server[4231]: at _drainQueue (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:86:9) Apr 24 10:04:36 xoa xo-server[4231]: at Async._drainQueues (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:102:5) Apr 24 10:04:36 xoa xo-server[4231]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/xen-orchestra/node_modules/bluebird/js/release/async.js:15:14) Apr 24 10:04:36 xoa xo-server[4231]: at processImmediate (internal/timers.js:461:21) Apr 24 10:04:36 xoa xo-server[4231]: at process.topLevelDomainCallback (domain.js:144:15) Apr 24 10:04:36 xoa xo-server[4231]: at process.callbackTrampoline (internal/async_hooks.js:129:14) Apr 24 10:04:36 xoa xo-server[4231]: }Not sure where to look, only difference to the other disks is that its a *-flat.vmdk
-
oh and the Web UI keeps pretending its doing something while its not


-
What is a flat VMDK?
-
I think flat is what VMware considers your "base copy", the disk frozen at a point in time.
I dont really know since the VM does not have any snapshots, if i download the (only) *.vmdk from this VM from the datastore browser i get a *-flat.vmdk file. and that gives me the error (or better so say ...nothing in the WebUI
-
If it's possible, could you put that VMDK somewhere we can download it? Maybe it's a format we do not manage yet. Hard to tell without "seeing it" first.
-
@olivierlambert i will see whats left after compressing the vmdk, my line is not suited for 40GB uploads (yet)

-
@olivierlambert i have send you a link via chat to the vmdk file (actually 2 files including the *-flat.vmdk)
-
Thanks we'll take a look when we can. I'll keep you posted!
-
Hi @Meth0d , I had a look at your file, I see that it's VMFS ( https://en.wikipedia.org/wiki/VMware_VMFS ) inside, which seems to be a real file system and not a disk image. I'm unfamiliar with esxi, but I think you might not have exported the virtual machine the way other users do.
-
@nraynaud well i just used the datastore browser to download the vmdk. i did the same thing with some other (smaller) VMs without any problems. All of this from the same ESXi host.
Thanks for looking into it though, i will try the export VM way next but have to find the right time for a shutdown ...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login