-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does DiscUtils support convert VHDX to VHD? #293
Comments
Yes. You can for example open a VHD file and create a new VHDX file with the same size and copy all data between them. |
I am not a VHDX or VHD expert, but from my view, if the VHDX and VHD has different formats with different capabilities or structures, is it OK to just directly copy the data from VHDX to VHD? |
If you open the VHD with DiscUtils using |
Does DiscUtil support merge VHDX chain? is there any interface to do that? |
No, this is not implemented. It can only be done by converting to a new file, not in place. |
@LTRData But, when I use |
Ah, yes that it correct. The result that you see is that image file contents merged with parents etc. Sorry, I first thought you meant merging like in writing data from a differencing image back into parent image. |
Hello @LTRData , I hope you're doing well. Apologies for reaching out once more, but I would appreciate your assistance with a quick clarification. Could you please confirm if the stream opened with VirtualDisk inDisk = VirtualDisk.OpenDisk(source_file, FileAccess.Read, username, password) includes both differencing and base image content? The reason for my inquiry is that I've created a chain with some additional files, but when I start a VM with this opened stream, it seems that the additional files are not included. Your insights would be greatly appreciated. Thank you very much for your time and assistance. |
If you specify the differencing file in your call to |
As we discussed above, I call |
I am sorry, but I do not understand what "the HTTP interface" refers to here. If you open a .avhdx file and create a new .vhd image, and then you copy stream contents from |
The issue is resolved, really appreciate for your help :-) @LTRData |
as title, Does DiscUtils support convert a VHDX image into VHD?
The text was updated successfully, but these errors were encountered: