Cannot import a large VHD using Import Disk option
-
I'm running XO Community Edition xo-server 5.74.0, xo-web 5.77.0
When I drag and drop a VHD disk that is 6GB it imports fine. But when I try to drag and drop in a 97GB VHD disk it says "an error has occurred" but there are no errors in Settings -> Logs.
Is there a disk size limit when importing via the XO web interface?
-
Hi!
VHD import is partly managed by the browser. Check your browser console for errors

-
@olivierlambert Thanks.
I see the problem now, it has to do with the capital extension .VHD which is the default when creating the image with disk2vhd.exe .
It works when I rename it to lowercase vhd.This is the error when dropping in a *.VHD file.
index.js:111 Uncaught TypeError: Cannot read property 'file' of undefined at index.js:111 at Array.map (<anonymous>) at index.js:111 at r (patch-react.js:22) at g.render (ReactCompositeComponent.js:42) at l._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:796) at l._renderValidatedComponent (ReactCompositeComponent.js:824) at l._updateRenderedComponent (ReactCompositeComponent.js:743) at l._performComponentUpdate (ReactCompositeComponent.js:721) at l.updateComponent (ReactCompositeComponent.js:642) -
Interesting bug. I think we can fix it easily (we'll, @nraynaud will tell
) -
@deoccultist Thanks for the report, the fix is done, you can follow its route to a release here: https://github.com/vatesfr/xen-orchestra/pull/5574
Nicolas
-
That was fast!! Thanks @nraynaud

-
@olivierlambert actually I saw the messages a few minutes before being tagged, and I was looking at the code by the time I got tagged.
-
@nraynaud @olivierlambert Thanks guys!
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